lint test

This commit is contained in:
Deven Joshi
2021-05-05 17:59:19 +05:30
parent f5daa8f49c
commit 9b09874df1
3 changed files with 60 additions and 60 deletions
@@ -16,13 +16,13 @@ void main() {
home: const Material(child: Text('Home')),
routes: <String, WidgetBuilder>{
'/next': (BuildContext context) => Material(
child: Center(
child: StreamChatTheme(
data: StreamChatThemeData.fromTheme(theme),
child: StreamBackButton(),
child: Center(
child: StreamChatTheme(
data: StreamChatThemeData.fromTheme(theme),
child: StreamBackButton(),
),
),
),
),
},
),
);
@@ -77,15 +77,15 @@ void main() {
home: const Material(child: Text('Home')),
routes: <String, WidgetBuilder>{
'/next': (BuildContext context) => Material(
child: Center(
child: StreamChatTheme(
data: StreamChatThemeData.fromTheme(theme),
child: StreamBackButton(
onPressed: () => customCallbackWasCalled = true,
child: Center(
child: StreamChatTheme(
data: StreamChatThemeData.fromTheme(theme),
child: StreamBackButton(
onPressed: () => customCallbackWasCalled = true,
),
),
),
),
),
},
),
);