A new flutter plugin project.
A Flutter widget for displaying fullscreen modal iOS style.
Add the following to your pubspec.yaml
file:
dependencies:
cupertino_fullscreen_modal: ^0.0.1
Wrap your widget CupertinoFullscreenModal
. After doing that you can use:
CupertinoFullscreenModal.of(context).showModal(Widget child, onClose (popValue) {});
popValue is the ThEValue passed in
Navigator.of(context).pop(ThEValue)