FlashShortcuts extension

Context extension for flash.

on

Methods

showFlash<T>({Duration transitionDuration = const Duration(milliseconds: 250), Duration reverseTransitionDuration = const Duration(milliseconds: 200), Color? barrierColor, double? barrierBlur, bool barrierDismissible = false, FutureOr<bool> onBarrierTap()?, Curve barrierCurve = Curves.ease, bool persistent = true, VoidCallback? onRemoveFromRoute, Duration? duration, required FlashBuilder<T> builder, Completer<T>? dismissCompleter}) Future<T?>