This commit is contained in:
Salvatore Giordano
2020-12-31 09:57:21 +01:00
parent db932d4e32
commit a8171f7314
5 changed files with 11 additions and 8 deletions
@@ -61,6 +61,7 @@ class _GroupChatDetailsScreenState extends State<GroupChatDetailsScreen> {
child: Scaffold(
backgroundColor: StreamChatTheme.of(context).colorTheme.whiteSnow,
appBar: AppBar(
brightness: Theme.of(context).brightness,
elevation: 1,
backgroundColor: StreamChatTheme.of(context).colorTheme.white,
leading: const StreamBackButton(),
+1
View File
@@ -121,6 +121,7 @@ class _NewChatScreenState extends State<NewChatScreen> {
return Scaffold(
backgroundColor: StreamChatTheme.of(context).colorTheme.whiteSnow,
appBar: AppBar(
brightness: Theme.of(context).brightness,
elevation: 0,
backgroundColor: StreamChatTheme.of(context).colorTheme.white,
leading: const StreamBackButton(),
+5 -4
View File
@@ -50,14 +50,15 @@ class _NewGroupChatScreenState extends State<NewGroupChatScreen> {
@override
Widget build(BuildContext context) {
return SafeArea(
child: Scaffold(
backgroundColor: StreamChatTheme.of(context).colorTheme.whiteSnow,
body: NestedScrollView(
return Scaffold(
backgroundColor: StreamChatTheme.of(context).colorTheme.whiteSnow,
body: SafeArea(
child: NestedScrollView(
floatHeaderSlivers: true,
headerSliverBuilder: (BuildContext context, bool innerBoxIsScrolled) {
return <Widget>[
SliverAppBar(
brightness: Theme.of(context).brightness,
pinned: true,
forceElevated: true,
elevation: 1,
+1 -1
View File
@@ -1,6 +1,6 @@
name: example
description: A new Flutter project.
version: 1.0.100+103
version: 1.0.101+104
environment:
sdk: ">=2.2.2 <3.0.0"
+3 -3
View File
@@ -25,12 +25,12 @@ class AttachmentError extends StatelessWidget {
return Center(
child: Container(
width: size?.width,
height: size?.height,
color: Color(0xffd0021B).withOpacity(.1),
height: size?.height ?? 200,
color: StreamChatTheme.of(context).colorTheme.accentRed.withOpacity(.1),
child: Center(
child: Icon(
Icons.error_outline,
color: StreamChatTheme.of(context).colorTheme.white,
color: StreamChatTheme.of(context).colorTheme.black,
),
),
),