builder property

Widget Function(GlobalKey<State<StatefulWidget>>) builder
final

Builder method that returns the dialog.

GlobalKey should be set as the key of the widget to enable dismissal of dialog when any area in the barrier is tapped.

Implementation

final Widget Function(GlobalKey) builder;