conceptadev / mix

A styling system for Flutter
https://fluttermix.com
BSD 3-Clause "New" or "Revised" License
464 stars 26 forks source link

`SingleChildScrollView` modifier #349

Open Maksimka101 opened 6 days ago

Maksimka101 commented 6 days ago

Use case

V and H boxes are pretty powerful, but sometimes I need to make them scrollable

Proposal

Add something like $with.scrollable modifier on base of the SingleChildScrollView to make anything scrollable. Probably it can even inherit axis of the FlexBox

Maksimka101 commented 6 days ago

Btw, I'd love to implement it

tilucasoli commented 6 days ago

Thank you for your contribution! 😁

It's an interesting use case of modifiers and mix. Your suggestion is between a behavior and a layout modification, so we should be careful if it would be part of Mix or an internal modifier in your project. We'll work on some proof of concepts related to it and we'll keep you up to date.