Created
September 25, 2022 17:54
-
-
Save haashem/1acac4c9bc05d3d8c1d8dffa98498d66 to your computer and use it in GitHub Desktop.
HomePage Row
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Row( | |
crossAxisAlignment: CrossAxisAlignment.start, | |
mainAxisAlignment: MainAxisAlignment.center, | |
children: [ | |
...() { | |
return Responsive.isMobile(context) == false | |
? [ | |
SideMenu( | |
onPressed: ((index) { | |
_selectedIndex = index; | |
}), | |
), | |
const SizedBox( | |
width: 128, | |
) | |
] | |
: []; | |
}(), | |
Flexible( | |
child: SizedBox( | |
width: Responsive.isDesktop(context) ? 708 : 320, | |
child: IndexedStack( | |
index: _selectedIndex, | |
children: const [ | |
SignInAndSecurityPage(), | |
PersonalInformationPage() | |
]), | |
), | |
), | |
], | |
), |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment