Skip to content

Added flex width #2

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Conversation

JGeek00
Copy link
Contributor

@JGeek00 JGeek00 commented May 3, 2023

Added a new flexWidth parameter which allows the developer to use a dynamic width for the primary view.

Created a new FlexWidth class which has two parameters.
  • mainViewFlexWidth which sets the flexparam for the primary view Expanded widget
  • secondaryViewFlexWidth which sets the flexparam for the secondary view Expanded widget
Added a new optional parameter flexWidth

This parameter receives FlexWidth value.
If this parameter is set, the Expandedwidget will be used as a wrapper for the mainView instead of the SizedBox.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant