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

Question: How to use Expanded? #1819

Open
bambinoua opened this issue Feb 14, 2025 · 0 comments
Open

Question: How to use Expanded? #1819

bambinoua opened this issue Feb 14, 2025 · 0 comments
Labels
needs triage support Asking for help writing an application

Comments

@bambinoua
Copy link

bambinoua commented Feb 14, 2025

I need this layout:

Multipage(
  build: (context) => [
    Row(
      children: [
        Expanded(
          child: Image(),
        ),
        Expanded(
          child: Table(),
        ),
      ],
    ),
  ],
),

But when I implemented I got an assertion:

assert(childSize <= maxChildExtent);

How can I avoid this?

@bambinoua bambinoua added needs triage support Asking for help writing an application labels Feb 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs triage support Asking for help writing an application
Projects
None yet
Development

No branches or pull requests

1 participant