Minor fixes
This commit is contained in:
parent
7e6212ff8a
commit
de29800f29
19 changed files with 156 additions and 104 deletions
|
|
@ -23,11 +23,13 @@ class AdaptivePageLayout extends StatelessWidget {
|
|||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return OrientationBuilder(builder: (context, orientation) {
|
||||
if (orientation == Orientation.portrait ||
|
||||
columnMode(context)) if (primaryPage == FocusPage.FIRST)
|
||||
return firstScaffold;
|
||||
else
|
||||
return secondScaffold;
|
||||
if (orientation == Orientation.portrait || columnMode(context)) {
|
||||
if (primaryPage == FocusPage.FIRST) {
|
||||
return firstScaffold;
|
||||
} else {
|
||||
return secondScaffold;
|
||||
}
|
||||
}
|
||||
return Row(
|
||||
children: <Widget>[
|
||||
Container(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue