fix: bottom padding home page

This commit is contained in:
Daniel Yukio 2024-08-28 17:59:45 -03:00
parent a7af306b31
commit 9f2dc1701d
1 changed files with 9 additions and 9 deletions

View File

@ -202,7 +202,7 @@ class _HomePageWidgetState extends State<HomePageWidget> {
Container buildPage(BuildContext context) { Container buildPage(BuildContext context) {
return Container( return Container(
decoration: BoxDecoration( decoration: BoxDecoration(
color: FlutterFlowTheme.of(context).primaryBackground, color: FlutterFlowTheme.of(context).primary,
), ),
child: SingleChildScrollView( child: SingleChildScrollView(
child: Column( child: Column(
@ -230,14 +230,14 @@ class _HomePageWidgetState extends State<HomePageWidget> {
} }
Widget createBody() { Widget createBody() {
return SingleChildScrollView( return Container(
physics: const AlwaysScrollableScrollPhysics(), color: FlutterFlowTheme.of(context).primaryBackground,
child: Container( child: wrapWithModel(
color: FlutterFlowTheme.of(context).primaryBackground, model: _model.menuComponentModel,
child: wrapWithModel( updateCallback: () => setState(() {}),
model: _model.menuComponentModel, child: const Padding(
updateCallback: () => setState(() {}), padding: EdgeInsets.only(bottom: 40),
child: const MenuComponentWidget( child: MenuComponentWidget(
expandable: true, expandable: true,
style: MenuView.list_grid, style: MenuView.list_grid,
item: MenuItem.button, item: MenuItem.button,