GlobalMsg class

Provides a model for global messages

Constructors

GlobalMsg(String text, {Color bgColor = Colors.teal, Duration duration = defaultDuration})

Properties

bgColor Color
getter/setter pair
duration Duration
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
text String
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

Constants

defaultDuration → const Duration