SignpostImageRenderSettings class Core
Rendering settings for signpost images in navigation instructions.
Configures the visual appearance of signpost images that display upcoming exit information and destination names on highways and major roads. Controls border styling, corner rounding, and the maximum number of destination rows displayed. All properties default to optimal values: 10px border, rounded corners enabled, and maximum 3 rows of details.
See also:
- SignpostDetails - Contains signpost data and rendering methods
- NavigationInstruction - Provides signpost details for upcoming exits
- SignpostImg - Image representation of signpost information
Constructors
- SignpostImageRenderSettings({int borderSize = 10, bool borderRoundCorners = true, int maxRows = 3})
-
Creates signpost rendering settings with customizable layout options.
const
-
SignpostImageRenderSettings.fromJson(Map<
String, dynamic> json) -
Deserializes a JSON-compatible map to create an instance.
factory
Properties
- borderRoundCorners → bool
-
Whether to use rounded corners for the signpost border.
final
- borderSize → int
-
Border width in pixels around the signpost image.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- maxRows → int
-
Maximum number of destination rows to display on the signpost.
final
- 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
-
toJson(
) → Map< String, dynamic> - Serializes this instance to a JSON-compatible map.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
covariant SignpostImageRenderSettings other) → bool -
The equality operator.
override