Skip to content

Can't use dynamic value for ratio on Aspect Ratio Widget #7059

@ViMeYatovi

Description

@ViMeYatovi

Can we access your project?

  • I give permission for members of the FlutterFlow team to access and test my project for the sole purpose of investigating this issue.

Current Behavior

Using an Aspect Ratio Widget to force aspect ratio on a container, it is not possible to use dynamic values for the aspect ratio. The mask input allows the user to put in e.g. responsive values or page state params, but it defaults back to 1.0 once the mask is close.

Expected Behavior

Like all other widgets I would expect it to take a dynamic value and calculate the number based on that value.

Steps to Reproduce

  1. Insert Aspect Ratio widget into a page
  2. Select Ratio = custom
  3. Try to set dynamic value for Ratio.

Reproducible from Blank

  • The steps to reproduce above start from a blank project.

Bug Report Code (Required)

ITFfl8/q24lIxOFJ7q6JdsJsvDkXG0ccT5A7mOxudxIdCZD2OpkqefXsak9oTbGlYFZqJkSmmTszpdbxk+H1K/AEHxSCb4hgz7lQeBbiWmetUZOBDKioRHdDPJpVJhG90KS7uSN/OsRpV147w12uI9miRT7cJKboImdISq/LZO4=

Visual documentation

Image Image

Environment

- FlutterFlow version: v6.6.44+ released April 11, 2026
- Platform: Windows Desktop
- Browser name and version: -
- Operating system and version affected: Windows 11

Additional Information

Trying to display an uploaded image within a container that has the same aspect ratio as the image.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions