Created
July 21, 2018 07:40
-
-
Save Norbert515/6920fe9af7114349ce58eb907ceef5ed to your computer and use it in GitHub Desktop.
scaffold edge inserts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// The minimum insets for contents of the Scaffold to keep visible. | |
final EdgeInsets minInsets = mediaQuery.padding.copyWith( | |
bottom: widget.resizeToAvoidBottomPadding ? mediaQuery.viewInsets.bottom : 0.0, | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment