TrafficWidgetColorScheme class

Color scheme for TrafficWidget.

Inheritance

Constructors

TrafficWidgetColorScheme({required Color backgroundColor, required Color pressedBackgroundColor, required Color iconInactiveColor, required Color iconDisabledColor, required Color iconActiveColor, required Color loaderColor, required ColorRamp<num> trafficColor, required TextStyle scoreTextStyle, required TextStyle scoreTextStyleEnabled, required Size scoreStrokeSize, required double borderWidth, required double iconSize})
const

Properties

backgroundColor → Color
final
borderWidth → double
final
hashCode → int
The hash code for this object.
no setterinherited
iconActiveColor → Color
final
iconDisabledColor → Color
final
iconInactiveColor → Color
final
iconSize → double
final
loaderColor → Color
final
pressedBackgroundColor → Color
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
scoreStrokeSize → Size
final
scoreTextStyle → TextStyle
final
scoreTextStyleEnabled → TextStyle
final
trafficColor → ColorRamp<num>
final

Methods

copyWith({Color? backgroundColor, Color? pressedBackgroundColor, Color? iconInactiveColor, Color? iconDisabledColor, Color? iconActiveColor, Color? loaderColor, ColorRamp<num>? trafficColor, TextStyle? scoreTextStyle, TextStyle? scoreTextStyleEnabled, Size? scoreStrokeSize, double? borderWidth, double? iconSize}) → TrafficWidgetColorScheme
override
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