presentFlutterDialog method

  1. @override
Future<void> presentFlutterDialog(
  1. PageSettings page
)
override

Present a Flutter dialog in a transparent native container.

The native side creates a transparent Activity/ViewController with a new Flutter engine. Flutter renders the dialog content (barrier, animation, positioning) over the native screen underneath.

Implementation

@override
Future<void> presentFlutterDialog(PageSettings page) async {
  pushedPages.add(page);
}