FLToastDefaults class

Constructors

FLToastDefaults({Duration showDuration = const Duration(milliseconds: 1500), Color darkColor = Colors.white, Color darkBackgroundColor = Colors.black87, double backgroundOpacity = 0.8, Color lightColor = const Color(0xFF2F2F2F), Color lightBackgroundColor = const Color(0xFFE0E0E0), FLToastPosition position = FLToastPosition.center, FLToastStyle style = FLToastStyle.dark, bool dismissOtherToast = true, bool hideWithTap = true, TextDirection textDirection = TextDirection.ltr, double topOffset = kToolbarHeight + 10, double bottomOffset = 10})
const

Properties

backgroundOpacity double
final
bottomOffset double
final
darkBackgroundColor Color
final
darkColor Color
final
dismissOtherToast bool
final
hashCode int
The hash code for this object.
no setterinherited
hideWithTap bool
final
lightBackgroundColor Color
final
lightColor Color
final
position FLToastPosition
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
showDuration Duration
final
style FLToastStyle
final
textDirection TextDirection
final
topOffset double
final

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