Skip to content

Instantly share code, notes, and snippets.

@vferreirati
Created April 8, 2020 18:00
Show Gist options
  • Save vferreirati/e9b8ea2cea28d73883e618430e3dae8d to your computer and use it in GitHub Desktop.
Save vferreirati/e9b8ea2cea28d73883e618430e3dae8d to your computer and use it in GitHub Desktop.
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