1
0
mirror of https://github.com/flutter/samples.git synced 2025-11-09 06:18:49 +00:00

Tweaked pubspecs, linted. (#113)

This commit is contained in:
Andrew Brogdon
2019-07-08 11:25:46 -07:00
committed by Filip Hracek
parent db963d801c
commit 3d40fa9fb2
39 changed files with 140 additions and 139 deletions

View File

@@ -53,10 +53,11 @@ class _ChatAppHomePageState extends State<ChatAppHomePage> {
builder: (context, constraints) {
final double width = constraints.maxWidth;
debugPrint('width: $width');
if (constraints.maxWidth > 800)
if (constraints.maxWidth > 800) {
return TwoPaneChatLayout(chatEntries: chats);
else
} else {
return ChatListScreen(chatEntries: chats);
}
},
),
);