Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: PageViewModel with footer does not show BodyWidget #202

Open
jdaduxiacom opened this issue Nov 14, 2023 · 0 comments
Open

Bug: PageViewModel with footer does not show BodyWidget #202

jdaduxiacom opened this issue Nov 14, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@jdaduxiacom
Copy link

This is one of the PageViewModel

PageViewModel(
title: '',
bodyWidget:
MyPageViewModel(
texto: 'This a text to show in the screen',
imagePath: 'assets/img/cards/flag.png'
),
footer: Wrap(
direction: Axis.horizontal,
alignment: WrapAlignment.center,
runAlignment: WrapAlignment.center,
crossAxisAlignment: WrapCrossAlignment.center,
children:[ ButtonWidget(
text: '¡Comienza ahora',
onClicked: () => goToHome(context),
)],
),
decoration: getPageDecoration(),
)

When I add a footer to the PageViewModel, the bodywidget is hidden.

imagen_pagemodelview

@jdaduxiacom jdaduxiacom added the bug Something isn't working label Nov 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant