lint test

This commit is contained in:
Deven Joshi
2021-05-05 17:58:50 +05:30
parent ad86cf0cd6
commit f5daa8f49c
14 changed files with 129 additions and 166 deletions
@@ -15,16 +15,14 @@ void main() {
MaterialApp(
home: const Material(child: Text('Home')),
routes: <String, WidgetBuilder>{
'/next': (BuildContext context) {
return Material(
'/next': (BuildContext context) => Material(
child: Center(
child: StreamChatTheme(
data: StreamChatThemeData.fromTheme(theme),
child: StreamBackButton(),
),
),
);
},
),
},
),
);
@@ -52,7 +50,7 @@ void main() {
child: Center(
child: StreamChatTheme(
data: StreamChatThemeData.fromTheme(theme),
child: StreamBackButton(),
child: const StreamBackButton(),
),
),
),
@@ -78,8 +76,7 @@ void main() {
MaterialApp(
home: const Material(child: Text('Home')),
routes: <String, WidgetBuilder>{
'/next': (BuildContext context) {
return Material(
'/next': (BuildContext context) => Material(
child: Center(
child: StreamChatTheme(
data: StreamChatThemeData.fromTheme(theme),
@@ -88,8 +85,7 @@ void main() {
),
),
),
);
},
),
},
),
);
@@ -131,7 +127,7 @@ void main() {
child: Center(
child: StreamChat(
client: client,
child: StreamBackButton(
child: const StreamBackButton(
showUnreads: true,
),
),