Snacky class
Constructors
-
Snacky({required String title, SnackyType type = SnackyType.info, String? subtitle, Widget leadingWidgetBuilder(BuildContext, CancelableSnacky)?, Widget trailingWidgetBuilder(BuildContext, CancelableSnacky)?, Widget bottomWidgetBuilder(BuildContext, CancelableSnacky)?, VoidCallback? onTap, bool canBeClosed = false, bool openUntillClosed = false, Duration showDuration = const Duration(seconds: 4), Duration transitionDuration = const Duration(milliseconds: 250), Curve transitionCurve = Curves.easeInOut, SnackyLocation location = SnackyLocation.top})
-
const
-
Snacky.widget({required Widget builder(BuildContext, CancelableSnacky)?, Duration showDuration = const Duration(seconds: 4), Duration transitionDuration = const Duration(milliseconds: 250), Curve transitionCurve = Curves.easeInOut, SnackyLocation location = SnackyLocation.top})
-
const
Methods
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited