ToastEntry class

Constructors

ToastEntry({required String message, required ToastType type, required ToastPosition position, required Duration duration, String? title, bool showCloseIcon = true, ToastAnimation animation = ToastAnimation.none, TextStyle? messageStyle, TextStyle? titleStyle, EdgeInsetsGeometry? padding, double borderRadius = 8.0, double elevation = 0.0, Widget? icon, Color? backgroundColor, VoidCallback? onTap, double? progress, bool showIndicator = false})

Properties

animation ToastAnimation
final
backgroundColor Color?
final
borderRadius double
final
duration Duration
final
elevation double
final
hashCode int
The hash code for this object.
no setterinherited
icon Widget?
final
message String
final
messageStyle TextStyle?
final
onTap VoidCallback?
final
padding EdgeInsetsGeometry?
final
position ToastPosition
final
progress double?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
showCloseIcon bool
final
showIndicator bool
final
title String?
final
titleStyle TextStyle?
final
type ToastType
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