Toast class Null safety

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?
read / write
borderRadius BorderRadius?
read / write
darkMode bool?
read / write
duration Duration?
read / write
fadeInSubtitle bool?
read / write
hashCode int
The hash code for this object.
read-onlyinherited
height double?
read / write
leading Widget?
read / write
onAppear VoidCallback?
read / write
onExit VoidCallback?
read / write
onTap VoidCallback?
read / write
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
status ToastStatus?
read / write
subtitle ↔ dynamic
read / write
title ↔ dynamic
read / write
trailing Widget?
read / write
width double?
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited