ComToastConfig class
Constructors
-
ComToastConfig({ComToastType type = ComToastType.normal, ComToastPosition position = ComToastPosition.center, int duration = 2000, Color? backgroundColor, Color? textColor, double fontSize = 14.0, EdgeInsets padding = const EdgeInsets.symmetric(horizontal: 16.0, vertical: 12.0), double borderRadius = 12.0, double maxWidth = 0.85, int animationDuration = 300, bool clickThrough = true, bool showShadow = true, Color shadowColor = const Color(0x1A000000), Offset shadowOffset = const Offset(0, 2), double shadowBlurRadius = 8.0, IconData? icon, double iconSize = 20.0, Color? iconColor, double iconSpacing = 8.0, Widget builder(BuildContext context)?})
-
const
Methods
-
copyWith({ComToastType? type, ComToastPosition? position, int? duration, Color? backgroundColor, Color? textColor, double? fontSize, EdgeInsets? padding, double? borderRadius, double? maxWidth, int? animationDuration, bool? clickThrough, bool? showShadow, Color? shadowColor, Offset? shadowOffset, double? shadowBlurRadius, IconData? icon, double? iconSize, Color? iconColor, double? iconSpacing, Widget builder(BuildContext context)?})
→ ComToastConfig
-
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited