Skip to content

RenderFlex overflow in AI Model Selector dialog on Android #1328

@codealchemist007

Description

@codealchemist007

Describe the bug/problem

On Android, opening the AI Model Selector dialog causes a RenderFlex overflowed layout error.
The dialog content overflows vertically on smaller/mobile screens, and the overflow warning is shown in red.

Steps to Reproduce the bug/problem

  1. Launch API Dash on Android.
  2. Create/open an AI request.
  3. Tap Select Model to open the AI Model Selector dialog.
  4. Observe the dialog layout and console/UI warning.

Attached screenshot shows the overflow error in the AI Model Selector dialog.

Expected behavior

The AI Model Selector dialog should fit within the screen on Android without any RenderFlex overflowed error, and all content should remain usable/scrollable.

Device Info (The device where you encountered this issue)

  • OS: Android
  • Version: Android 15
  • Browser (only if you encountered the issue while running the web app): N/A

Flutter Doctor

Please run the flutter doctor command and provide the details below:

Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, 3.38.9, on Microsoft Windows [Version 10.0.26200.7922], locale en-IN)
[√] Windows Version (Windows 11 or higher, 25H2, 2009)
[√] Android toolchain - develop for Android devices (Android SDK version 36.0.0)
[√] Chrome - develop for the web
[√] Visual Studio - develop Windows apps (Visual Studio Community 2022 17.14.8)
[√] Connected device (4 available)
[√] Network resources

• No issues found!

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    Status

    In progress

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions