This file contains hidden or 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
| /* | |
| How to use ScrollSafeAreaPadding | |
| This helper prevents ScrollView content from being hidden behind: | |
| - top safe area: status bar, notch, Dynamic Island | |
| - bottom safe area: iOS home indicator, Android navigation gesture area | |
| The pattern is based on: | |
| MediaQuery.of(context).padding.top |
This file contains hidden or 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
| /* | |
| How to use FullscreenSwipePage | |
| 1) Initialize in main() (required for iOS corner-radius support) | |
| void main() async { | |
| WidgetsFlutterBinding.ensureInitialized(); | |
| await FullscreenSwipePage.init(); | |
| runApp(...); | |
| } |