Created
April 8, 2020 18:00
-
-
Save vferreirati/e9b8ea2cea28d73883e618430e3dae8d to your computer and use it in GitHub Desktop.
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
class _FirstSchedulePageState extends State<FirstSchedulePage> { | |
@override | |
Widget build(BuildContext context) { | |
return Scaffold( | |
backgroundColor: AppColors.PAGE_BACKGROUND_COLOR, | |
body: _buildContent(), | |
); | |
} | |
Widget _buildContent() { | |
return Container( | |
padding: EdgeInsets.only(top: 64, left: 16, right: 16, bottom: 16), | |
child: Column( | |
children: <Widget>[ | |
_buildSchedulePageView(), | |
_buildProgressIndicator(), | |
], | |
), | |
); | |
} | |
Widget _buildSchedulePageView() { | |
return Expanded( | |
child: PageView( | |
children: <Widget>[ | |
ChooseServiceTypeFragment(), | |
ChoosePartnerFragment(), | |
UserFormFragment() | |
], | |
), | |
); | |
} | |
Widget _buildProgressIndicator() { | |
return Container(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment