PrimaryColors enum

Constants for PrimaryColor.

Inheritance

Constructors

PrimaryColors(PrimaryColor _primaryColor)
Creates a PrimaryColors enumeration.
const

Values

coral → const PrimaryColors

Coral color.

const PrimaryColors(_CoralPrimaryColor())
cornflowerBlue → const PrimaryColors

Cornflower blue color.

const PrimaryColors(_CornflowerBluePrimaryColor())
turquoise → const PrimaryColors

Turquoise color.

const PrimaryColors(_TurquoisePrimaryColor())
deepSkyBlue → const PrimaryColors

Deep sky blue color.

const PrimaryColors(_DeepSkyBluePrimaryColor())
dodgerBlue → const PrimaryColors

Dodger blue color.

const PrimaryColors(_DodgerBluePrimaryColor())
goldenrod → const PrimaryColors

Goldenrod color.

const PrimaryColors(_GoldenrodPrimaryColor())
hotPink → const PrimaryColors

Hot pink color.

const PrimaryColors(_HotPinkPrimaryColor())
purple → const PrimaryColors

Purple color.

const PrimaryColors(_PurplePrimaryColor())
orange → const PrimaryColors

Orange color.

const PrimaryColors(_OrangePrimaryColor())
royalBlue → const PrimaryColors

Royal blue color.

const PrimaryColors(_RoyalBluePrimaryColor())
sandyBrown → const PrimaryColors

Sandy brown color.

const PrimaryColors(_SandyBrownPrimaryColor())
slateBlue → const PrimaryColors

Slate blue color.

const PrimaryColors(_SlateBluePrimaryColor())
violet → const PrimaryColors

Violet color.

const PrimaryColors(_VioletPrimaryColor())
springGreen → const PrimaryColors

Spring green color.

const PrimaryColors(_SpringGreenPrimaryColor())
red → const PrimaryColors

Red color.

const PrimaryColors(_RedPrimaryColor())

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
primaryColor PrimaryColor
The PrimaryColor.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Operators

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

Static Methods

fromPrimaryColor(PrimaryColor primaryColor) PrimaryColors?
Tries to create a PrimaryColors enumeration from a PrimaryColor value. Returns null if the value is a custom primary color.

Constants

values → const List<PrimaryColors>
A constant List of the values in this enum, in order of their declaration.