TrafficWidgetTheme class
- Inheritance
-
- Object
- MapWidgetColorScheme
- TrafficWidgetTheme
Constructors
-
TrafficWidgetTheme({required Size scoreStrokeSize, required ColorRamp<
int> trafficColor, required double borderWidth, required Color loaderColor, required TextStyle scoreTextStyle, required NavigationMapControlTheme controlTheme}) -
const
Properties
- borderWidth → double
-
final
- controlTheme → NavigationMapControlTheme
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- loaderColor → Color
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scoreStrokeSize → Size
-
final
- scoreTextStyle → TextStyle
-
final
-
trafficColor
→ ColorRamp<
int> -
final
Methods
-
copyWith(
{Size? scoreStrokeSize, ColorRamp< int> ? trafficColor, double? borderWidth, Color? loaderColor, TextStyle? scoreTextStyle, NavigationMapControlTheme? controlTheme}) → TrafficWidgetTheme -
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
Constants
- defaultDark → const TrafficWidgetTheme
- Widget color scheme for default dark mode.
- defaultLight → const TrafficWidgetTheme
- Widget color scheme for default light mode.