ModalFlashShortcuts extension

Context extension for modal flash.

on

Methods

showBlockDialog<T>({Duration transitionDuration = const Duration(milliseconds: 250), Duration reverseTransitionDuration = const Duration(milliseconds: 200), Color barrierColor = const Color(0x8A000000), double? barrierBlur, Curve barrierCurve = Curves.ease, Completer<T>? dismissCompleter}) Future<T?>
showModalFlash<T>({required FlashBuilder<T> builder, Color? barrierColor = const Color(0x8A000000), double? barrierBlur, bool barrierDismissible = true, Curve barrierCurve = Curves.ease, String? barrierLabel, Duration transitionDuration = const Duration(milliseconds: 250), Duration reverseTransitionDuration = const Duration(milliseconds: 200), RouteSettings? settings, bool useRootNavigator = false, Duration? duration, Completer<T>? dismissCompleter}) Future<T?>