SunnyHud class
Class that assists in displaying overlays
Constructors
- SunnyHud()
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
- platformHud ↔ PlatformHud
-
getter/setter pair
Static Methods
-
dismiss(
BuildContext context, {bool animate = false}) → FutureOr -
error(
BuildContext context, String text, {Duration duration = const Duration(seconds: 7)}) → Hud -
info(
BuildContext context, String text, {double? height, Widget? leading, Duration? duration}) → Hud -
notification(
BuildContext context, String text, {bool isDismissible = true, OverlaySupportCallback onTap = _closeEntryCallback, Duration? duration}) → dynamic -
overlay(
BuildContext context, Widget widget, {Duration? duration, ToastPlacement? alignment}) → Hud -
spinner<
T> (BuildContext context, String text, {Future< T> operation()?, Duration? duration}) → Hud<T?> -
success(
BuildContext context, String text, {Duration? duration}) → Hud -
toast(
BuildContext context, String text, {Duration? duration}) → dynamic