widget/dialog library

Enums

Location

Functions

fromBottom(Animation animation) Offset
fromLeft(Animation animation) Offset
fromRight(Animation animation) Offset
fromTop(Animation animation) Offset
fromTopLeft(Animation anim) Offset
offsetAnim(OffsetHandle oh) RouteTransitionsBuilder
showDialogCustom<T>({required BuildContext context, required WidgetBuilder builder, Duration? duration, Color barrierColor = Colors.black54, bool barrierDismissible = true, bool cushion = true, double offset = 0, Location location = Location.center, OffsetHandle? offsetHandle, TextStyle? style}) Future<T?>
cushion 垫层 offset偏移值

Typedefs

OffsetHandle = Offset Function(Animation animation)