ColorDescriptor class Null safety

Constructors

ColorDescriptor({int? shade, Color? color, Color? contrastColor, String? name, String prefix = ''})
const

Properties

color Color?
final
contrastColor Color?
final
hashCode int
The hash code for this object. [...]
read-only, inherited
name String
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
shade int?
final

Methods

getTitle() String
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