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

Added new 'scrollingContent' attribute to the 'CoolStep' class. #7

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

Conversation

davoutuk
Copy link

@davoutuk davoutuk commented Jul 5, 2023

Originally the CoolStep class wrapped the step contents inside a SingleChildScrollView, thus making it impossible to have the step contents be aligned to fit the available vertical space.

The new 'scrollingContent' attribute controls whether the step content is to be set inside the SingleChildScrollView'. If the attribute is set to 'true' then the step content is set within a SingleChildScrollView. If the attribute is set to 'false' then the step content is set within a 'Container' parent.

Originally the Coolstep class wrapped the step contents inside a SingleChildScrollView, thus making it impossible to have the step contents be aligned to fit the available vertical space.
The new 'scrollingContent' attribute controls whether the step content is to be set inside the SingleChildScrollView'.
If the attribute is set to 'true' then the step content is set within a SingleChildSsrollView.
If the attribute is set to 'false' then the step content it is set within a 'Container' parent.
… width when the widget may not have the full width of the device available.

Instead, an Expanded widget is used to ensure that the title takes all the available horizontal space.
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