You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I’m not sure how well this aligns with the general use of Modifiers. The SafeArea widget is usually used for full page layouts and is rarely implemented in component creation.
Another alternative is you make an extension of Modifiers and add safe area
Please take a look at this documentation and let me know if you have any questions.
Use case
I suffer when I need to implement a footer/header. I have to use a box to set a color, safe area to avoid system UI and another HBox for content
Proposal
I'd like to use only one box like this:
The text was updated successfully, but these errors were encountered: