Grey class

Material Design grey.

Equivalence between constructor and shade index

  • ultraLight() ≡ 50
  • veryLight() ≡ 100
  • light() ≡ 200
  • lighter() ≡ 300
  • pressedLight() ≡ 350
  • bitLighter() ≡ 400
  • () ≡ 500 primary
  • bitDarker() ≡ 600
  • darker() ≡ 700
  • dark() ≡ 800
  • bgDark() ≡ 850
  • veryDark() ≡ 900

See also

Inheritance

Constructors

Grey()
Default shade #9E9E9E ≡ Colors.grey500.
const
Grey.bgDark()
For background color in dark theme #303030 ≡ Colors.grey850.
const
Grey.bitDarker()
Bit darker shade #757575 ≡ Colors.grey600.
const
Grey.bitLighter()
Bit lighter shade #BDBDBD ≡ Colors.grey400.
const
Grey.dark()
Dark shade #424242 ≡ Colors.grey800.
const
Grey.darker()
Darker shade #616161 ≡ Colors.grey700.
const
Grey.light()
Light shade #EEEEEE ≡ Colors.grey200.
const
Grey.lighter()
Lighter shade #E0E0E0 ≡ Colors.grey300.
const
Grey.pressedLight()
For raised button while pressed in light theme #D6D6D6 ≡ Colors.grey350.
const
Grey.ultraLight()
Ultral light shade #FAFAFA ≡ Colors.grey50.
const
Grey.veryDark()
Very dark shade #212121 ≡ Colors.grey900.
const
Grey.veryLight()
Very light shade #F5F5F5 ≡ Colors.grey100.
const

Properties

color Color
The rgb color.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
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.
inherited

Operators

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