ios_window_control_layout 0.4.1
ios_window_control_layout: ^0.4.1 copied to clipboard
Expose iOS window-control-aware layout margins to Flutter.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add ios_window_control_layoutThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
ios_window_control_layout: ^0.4.1Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:ios_window_control_layout/ios_window_control_layout.dart';