showDialog function

Future<void> showDialog({
  1. required BuildContext context,
  2. required Widget builder(
    1. BuildContext
    ),
  3. String? barrierLabel,
  4. bool useRootNavigator = true,
  5. bool? barrierDismissible,
})

Implementation

Future<void> showDialog({
  required BuildContext context,
  required Widget Function(BuildContext) builder,
  String? barrierLabel,
  bool useRootNavigator = true,
  bool? barrierDismissible,
}) =>
    showNikuDialog(
      context: context,
      builder: builder,
      barrierLabel: barrierLabel,
      barrierDismissible: barrierDismissible,
      useRootNavigator: useRootNavigator,
    );