OverlayWidgets class

Constructors

OverlayWidgets()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

sharedToastQueue Map<String, List<OverlayShower?>>
Toast in Queue
getter/setter pair

Static Methods

show({required Widget child, String? key, Curve? curve, Duration? appearDuration, Duration? dismissDuration, Duration? onScreenDuration, Offset? slideBegin, double? opacityBegin, Widget appearAnimatedBuilder(OverlayShower shower, AnimationController controller, Widget widget)?, Widget dismissAnimatedBuilder(OverlayShower shower, AnimationController controller, Widget widget)?}) OverlayShower
Basic show with animation
showToast(String text, {String? key, bool isStateful = false, BoxShadow? shadow, EdgeInsets? padding, TextStyle? textStyle, BorderRadius? radius, Decoration? decoration, Color? backgroundColor, void onWidgetBuild(Widget widget)?, Curve? curve, Duration? appearDuration, Duration? dismissDuration, Duration? onScreenDuration, Offset? slideBegin, double? opacityBegin, Widget appearAnimatedBuilder(OverlayShower shower, AnimationController controller, Widget widget)?, Widget dismissAnimatedBuilder(OverlayShower shower, AnimationController controller, Widget widget)?}) OverlayShower
Toast
showToastInQueue(String text, {String? key, TextStyle? textStyle, EdgeInsets? padding, Decoration? decoration, Color? backgroundColor, BorderRadius? radius, BoxShadow? shadow, Curve? curve, Duration? appearDuration, Duration? dismissDuration, Duration? onScreenDuration, Offset? slideBegin, double? opacityBegin, Widget appearAnimatedBuilder(OverlayShower shower, AnimationController controller, Widget widget)?, Widget dismissAnimatedBuilder(OverlayShower shower, AnimationController controller, Widget widget)?, EdgeInsets increaseOffset = const EdgeInsets.only(top: 45)}) OverlayShower
showWithAnimation({required Widget child, String? key, Duration? appearDuration, Duration? dismissDuration, Duration? onScreenDuration, Widget appearAnimatedBuilder(OverlayShower shower, AnimationController controller, Widget widget)?, Widget dismissAnimatedBuilder(OverlayShower shower, AnimationController controller, Widget widget)?}) OverlayShower
Show with LayerLinker
showWithTickerVsyncBuilder({String? key, required void tickerBuilder(OverlayShower shower, TickerProviderStateMixin<StatefulWidget> vsync)}) OverlayShower