DesignColors class Null safety
Contains colors that are needed repeatedly throughout the app.
Constructors
Properties
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
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
Constants
- backgroundBlue → const Color
-
Color used for the Appbar and other blue backgrounds.
const Color(0xFF0999bc)
- black → const Color
-
Color for light grey backgrounds.
const Color.fromARGB(255, 23, 23, 23)
- green → const Color
-
Color used for Facts and real news. Checked for colorblindness.
const Color(0xFF009e73)
- lightBlue → const Color
-
Color for text that sits ontop of Blue backgrounds.
const Color(0xFFc7ebeb)
- lightGrey → const Color
-
Color for light grey backgrounds.
const Color(0xFFEEEEEE)
- pink → const Color
-
Color used in the logo. Use for strong highlighting.
const Color(0xFFff3a93)
- red → const Color
-
Color used for Fake News, manipulated news. Checked for colorblindness.
const Color(0xFFd55e00)
- yellow → const Color
-
Color used in the logo.
const Color(0xFFf5df5b)