ToastrOptions class
Constructors
- ToastrOptions.new({required String message, required bool showIcon, required IconData icon, required Color primaryColor, required EdgeInsetsGeometry margin, required bool showCloseButton, required VoidCallback onClose, required ToastStyle toastStyle, TextStyle? messageStyle, BorderRadiusGeometry? borderStyle})
Properties
- borderStyle → BorderRadiusGeometry?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- icon → IconData
-
final
- margin → EdgeInsetsGeometry
-
final
- message → String
-
final
- messageStyle → TextStyle?
-
final
- onClose → VoidCallback
-
final
- primaryColor → Color
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- showCloseButton → bool
-
final
- showIcon → bool
-
final
- toastStyle → ToastStyle
-
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