TDToastConfig class

Toast配置类,支持独立样式定制

Constructors

TDToastConfig({Color? backgroundColor, TextStyle? textStyle, double? iconSize, Color? iconColor, Duration duration = const Duration(milliseconds: 3000), bool preventTap = false})
const

Properties

backgroundColor Color?
final
duration Duration
final
hashCode int
The hash code for this object.
no setterinherited
iconColor Color?
final
iconSize double?
final
preventTap bool
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
textStyle TextStyle?
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