Coloring class

Class that contains everything that is related to Colors. Internal Class Only

Constructors

Coloring()

Properties

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

Static Properties

borderSideColor Color
The Color used for Border Sides.
no setter
darkBackgroundColor Color
The Background Color for Screens in a Dark Theme.
final
darkColorScheme ColorScheme
The Color Scheme for Dark Themes.
no setter
disabledColor Color
Color for diabled Elements.
final
errorColor Color
The Colors used for everything that is an Error.
final
focusedBorderSideColor Color
Color used for focused Objects.
no setter
lightColorScheme ColorScheme
Color Scheme for the light Theme
no setter
lightShadowColor Color
Color used for shadows in the light Themes.
final
mainColor Color
Getter for the main Color.
no setter
secondaryColor Color
The secondary Color of the App.
no setter

Static Methods

changeColor(Color color) → void
Changes the Main Color and with it the Secondary Color depending on the State (light Or Dark) of the color
contrastColor(Color forColor) → dynamic
returns the Contrast Color for the Color you put in. Currently only supports black and white.

Constants

darkTextColor → const Color
The Text Color in a Dark Theme
dividerColor → const Color
Color for the Divider used in all Themes.
fillColor → const Color
The Color with which filled Elements will be filled.
lightBackgroundColor → const Color
The Background Color for Scaffold and other Material Components used in this App. Used in light Themes.
lightTextColor → const Color
Text Color for the light Theme