NavigationHeaderStylingOptions class
Styling options for the native navigation header.
Text size properties are supported on Android only and are ignored on iOS. The Android Navigation SDK deprecated custom header text sizes in version 8.0.0, but these properties remain functional.
Constructors
-
Creates navigation header styling options.
const
Properties
- distanceUnitsTextColor → Color?
-
Color of the distance units text in the header.
final
- distanceUnitsTextSize → double?
-
Size of the distance units text in logical pixels.
final
- distanceValueTextColor → Color?
-
Color of the distance value text in the header.
final
- distanceValueTextSize → double?
-
Size of the distance value text in logical pixels.
final
- guidanceRecommendedLaneColor → Color?
-
Color of the recommended lane highlight in the header.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- instructionsFirstRowTextSize → double?
-
Size of the first row of the instructions text in logical pixels.
final
- instructionsSecondRowTextSize → double?
-
Size of the second row of the instructions text in logical pixels.
final
- instructionsTextColor → Color?
-
Color of the instructions text in the header.
final
- largeManeuverIconColor → Color?
-
Color of the large maneuver icon in the header.
final
- nextStepTextColor → Color?
-
Color of the next-step text in the header.
final
- nextStepTextSize → double?
-
Size of the next-step text in logical pixels.
final
- primaryDayModeBackgroundColor → Color?
-
Background color of the primary header area in day mode.
final
- primaryNightModeBackgroundColor → Color?
-
Background color of the primary header area in night mode.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- secondaryDayModeBackgroundColor → Color?
-
Background color of the secondary header area in day mode.
final
- secondaryNightModeBackgroundColor → Color?
-
Background color of the secondary header area in night mode.
final
- smallManeuverIconColor → Color?
-
Color of the small maneuver icon in the header.
final
Methods
-
copyWith(
{Color? primaryDayModeBackgroundColor, Color? secondaryDayModeBackgroundColor, Color? primaryNightModeBackgroundColor, Color? secondaryNightModeBackgroundColor, Color? largeManeuverIconColor, Color? smallManeuverIconColor, Color? nextStepTextColor, double? nextStepTextSize, Color? distanceValueTextColor, Color? distanceUnitsTextColor, double? distanceValueTextSize, double? distanceUnitsTextSize, Color? instructionsTextColor, double? instructionsFirstRowTextSize, double? instructionsSecondRowTextSize, Color? guidanceRecommendedLaneColor}) → NavigationHeaderStylingOptions - Returns a copy with selected fields replaced.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toDto(
) → NavigationHeaderStylingOptionsDto - Converts this object to a pigeon DTO.
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override