Toast class

Constructors

Toast({double? width, double? height, BorderRadius? borderRadius, dynamic title, dynamic subtitle, Widget? leading, Widget? trailing, bool? fadeInSubtitle, VoidCallback? onTap, VoidCallback? onAppear, VoidCallback? onExit, bool? darkMode, Color? backgroundColor, ToastStatus? status, Duration? duration})

Properties

backgroundColor Color?
getter/setter pair
borderRadius BorderRadius?
getter/setter pair
darkMode bool?
getter/setter pair
duration Duration?
getter/setter pair
fadeInSubtitle bool?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
height double?
getter/setter pair
leading Widget?
getter/setter pair
onAppear VoidCallback?
getter/setter pair
onExit VoidCallback?
getter/setter pair
onTap VoidCallback?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
status ToastStatus?
getter/setter pair
subtitle ↔ dynamic
getter/setter pair
title ↔ dynamic
getter/setter pair
trailing Widget?
getter/setter pair
width double?
getter/setter pair

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