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:
committed by
Filip Hracek
parent
db963d801c
commit
3d40fa9fb2
@@ -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);
|
||||
}
|
||||
},
|
||||
),
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user