feat: Converted completely to dark theme
This commit is contained in:
@@ -81,7 +81,9 @@ class _GroupInfoScreenState extends State<GroupInfoScreen> {
|
|||||||
},
|
},
|
||||||
child: Padding(
|
child: Padding(
|
||||||
padding: const EdgeInsets.only(left: 12.0),
|
padding: const EdgeInsets.only(left: 12.0),
|
||||||
child: StreamSvgIcon.left(),
|
child: StreamSvgIcon.left(
|
||||||
|
color: StreamChatTheme.of(context).colorTheme.black,
|
||||||
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
leadingWidth: 36.0,
|
leadingWidth: 36.0,
|
||||||
|
|||||||
@@ -53,14 +53,16 @@ class _ChannelFileDisplayScreenState extends State<ChannelFileDisplayScreen> {
|
|||||||
@override
|
@override
|
||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
return Scaffold(
|
return Scaffold(
|
||||||
backgroundColor: Colors.white,
|
backgroundColor: StreamChatTheme.of(context).colorTheme.white,
|
||||||
appBar: AppBar(
|
appBar: AppBar(
|
||||||
brightness: Theme.of(context).brightness,
|
brightness: Theme.of(context).brightness,
|
||||||
elevation: 1,
|
elevation: 1,
|
||||||
centerTitle: true,
|
centerTitle: true,
|
||||||
title: Text(
|
title: Text(
|
||||||
'Files',
|
'Files',
|
||||||
style: TextStyle(color: Colors.black, fontSize: 16.0),
|
style: TextStyle(
|
||||||
|
color: StreamChatTheme.of(context).colorTheme.black,
|
||||||
|
fontSize: 16.0),
|
||||||
),
|
),
|
||||||
leading: Center(
|
leading: Center(
|
||||||
child: InkWell(
|
child: InkWell(
|
||||||
@@ -69,7 +71,7 @@ class _ChannelFileDisplayScreenState extends State<ChannelFileDisplayScreen> {
|
|||||||
},
|
},
|
||||||
child: Container(
|
child: Container(
|
||||||
child: StreamSvgIcon.left(
|
child: StreamSvgIcon.left(
|
||||||
color: Colors.black,
|
color: StreamChatTheme.of(context).colorTheme.black,
|
||||||
size: 24.0,
|
size: 24.0,
|
||||||
),
|
),
|
||||||
width: 24.0,
|
width: 24.0,
|
||||||
@@ -104,14 +106,14 @@ class _ChannelFileDisplayScreenState extends State<ChannelFileDisplayScreen> {
|
|||||||
children: [
|
children: [
|
||||||
StreamSvgIcon.files(
|
StreamSvgIcon.files(
|
||||||
size: 136.0,
|
size: 136.0,
|
||||||
color: Color(0xffdbdbdb),
|
color: StreamChatTheme.of(context).colorTheme.greyGainsboro,
|
||||||
),
|
),
|
||||||
SizedBox(height: 16.0),
|
SizedBox(height: 16.0),
|
||||||
Text(
|
Text(
|
||||||
'No Files',
|
'No Files',
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
fontSize: 14.0,
|
fontSize: 14.0,
|
||||||
color: Color(0xff000000),
|
color: StreamChatTheme.of(context).colorTheme.black,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
SizedBox(height: 8.0),
|
SizedBox(height: 8.0),
|
||||||
@@ -120,7 +122,10 @@ class _ChannelFileDisplayScreenState extends State<ChannelFileDisplayScreen> {
|
|||||||
textAlign: TextAlign.center,
|
textAlign: TextAlign.center,
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
fontSize: 14.0,
|
fontSize: 14.0,
|
||||||
color: Color(0xff000000).withOpacity(0.5),
|
color: StreamChatTheme.of(context)
|
||||||
|
.colorTheme
|
||||||
|
.black
|
||||||
|
.withOpacity(0.5),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
|
|||||||
@@ -55,14 +55,17 @@ class _ChannelMediaDisplayScreenState extends State<ChannelMediaDisplayScreen> {
|
|||||||
@override
|
@override
|
||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
return Scaffold(
|
return Scaffold(
|
||||||
backgroundColor: Colors.white,
|
backgroundColor: StreamChatTheme.of(context).colorTheme.white,
|
||||||
appBar: AppBar(
|
appBar: AppBar(
|
||||||
brightness: Theme.of(context).brightness,
|
brightness: Theme.of(context).brightness,
|
||||||
elevation: 1,
|
elevation: 1,
|
||||||
centerTitle: true,
|
centerTitle: true,
|
||||||
title: Text(
|
title: Text(
|
||||||
'Photos & Videos',
|
'Photos & Videos',
|
||||||
style: TextStyle(color: Colors.black, fontSize: 16.0),
|
style: TextStyle(
|
||||||
|
color: StreamChatTheme.of(context).colorTheme.black,
|
||||||
|
fontSize: 16.0,
|
||||||
|
),
|
||||||
),
|
),
|
||||||
leading: Center(
|
leading: Center(
|
||||||
child: InkWell(
|
child: InkWell(
|
||||||
@@ -71,7 +74,7 @@ class _ChannelMediaDisplayScreenState extends State<ChannelMediaDisplayScreen> {
|
|||||||
},
|
},
|
||||||
child: Container(
|
child: Container(
|
||||||
child: StreamSvgIcon.left(
|
child: StreamSvgIcon.left(
|
||||||
color: Colors.black,
|
color: StreamChatTheme.of(context).colorTheme.black,
|
||||||
size: 24.0,
|
size: 24.0,
|
||||||
),
|
),
|
||||||
width: 24.0,
|
width: 24.0,
|
||||||
@@ -106,14 +109,14 @@ class _ChannelMediaDisplayScreenState extends State<ChannelMediaDisplayScreen> {
|
|||||||
children: [
|
children: [
|
||||||
StreamSvgIcon.pictures(
|
StreamSvgIcon.pictures(
|
||||||
size: 136.0,
|
size: 136.0,
|
||||||
color: Color(0xffdbdbdb),
|
color: StreamChatTheme.of(context).colorTheme.greyGainsboro,
|
||||||
),
|
),
|
||||||
SizedBox(height: 16.0),
|
SizedBox(height: 16.0),
|
||||||
Text(
|
Text(
|
||||||
'No Media',
|
'No Media',
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
fontSize: 14.0,
|
fontSize: 14.0,
|
||||||
color: Color(0xff000000),
|
color: StreamChatTheme.of(context).colorTheme.black,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
SizedBox(height: 8.0),
|
SizedBox(height: 8.0),
|
||||||
@@ -122,7 +125,10 @@ class _ChannelMediaDisplayScreenState extends State<ChannelMediaDisplayScreen> {
|
|||||||
textAlign: TextAlign.center,
|
textAlign: TextAlign.center,
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
fontSize: 14.0,
|
fontSize: 14.0,
|
||||||
color: Color(0xff000000).withOpacity(0.5),
|
color: StreamChatTheme.of(context)
|
||||||
|
.colorTheme
|
||||||
|
.black
|
||||||
|
.withOpacity(0.5),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
|
|||||||
Reference in New Issue
Block a user