RouteInstructionBase class
Road Instruction Base interface
This class should not be instantiated directly. Instead, use the RouteSegment.instructions to retrieve a list of route instructions.
A model representing a single navigation instruction (turn, exit, follow‑road, etc.) intended for guidance and UI rendering. It exposes the instruction location, localized descriptive text and visual assets so callers can present turn arrows, signposts and integrate instruction data into map displays or analytics.
It is implemented within the RouteInstruction, PTRouteInstruction classes.
Also see the NavigationInstruction class which provides turn-by-turn navigation instructions.
- Implementers
Properties
- coordinates → Coordinates
-
Get coordinates for this route instruction.
no setter
- countryCodeISO → String
-
Get ISO 3166-1 alpha-3 country code for the navigation instruction.
no setter
- exitDetails → String
-
Get the exit route instruction text.
no setter
- followRoadInstruction → String
-
Get textual description for the follow road information.
no setter
- hasFollowRoadInfo → bool
-
Check if follow road information is available.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- hasRoadInfo → bool
-
Check if road information is available.
no setter
- hasSignpostInfo → bool
-
Check if signpost information is available.
no setter
- hasTurnInfo → bool
-
Check if turn information is available.
no setter
- isCommon → bool
-
Check if this instruction is of common type.
no setter
- isExit → bool
-
Check if the route instruction is a main road exit instruction.
no setter
- isFerry → bool
-
Check if the route instruction is a ferry.
no setter
- isTollRoad → bool
-
Check if the route instruction is a toll road.
no setter
- pointerId → int
-
no setter
- realisticNextTurnImg → AbstractGeometryImg
-
Get the image of the realistic next turn image
no setter
- remainingTravelTimeDistance → TimeDistance
-
Get remaining travel distance in meters and remaining travel time in seconds.
no setter
- remainingTravelTimeDistanceToNextWaypoint → TimeDistance
-
Get remaining travel time in seconds to the next way point and the remaining travel distance in meters to the next way point.
no setter
-
roadInfo
→ List<
RoadInfo> -
Get road information.
no setter
- roadInfoImg → RoadInfoImg
-
Get the image of the road info
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- signpostDetails → SignpostDetails
-
Get extended signpost details.
no setter
- signpostInstruction → String
-
Get textual description for the signpost information.
no setter
- timeDistanceToNextTurn → TimeDistance
-
Get distance to the next turn in meters, time in seconds.
no setter
- traveledTimeDistance → TimeDistance
-
Get the traveled distance in meters and the traveled time in seconds.
no setter
- turnDetails → TurnDetails
-
Get full details for the turn.
no setter
- turnImg → Img
-
Get the turn image
no setter
- turnInstruction → String
-
Get textual description for the turn.
no setter
Methods
-
dispose(
) → void -
getRealisticNextTurnImage(
{Size? size, ImageFileFormat? format, AbstractGeometryImageRenderSettings renderSettings = const AbstractGeometryImageRenderSettings()}) → Uint8List? - Get image for the realistic turn information.
-
getRoadInfoImage(
{Size? size, ImageFileFormat? format, Color backgroundColor = Colors.transparent}) → Uint8List? - Get road image.
-
getTurnImage(
{Size? size, ImageFileFormat? format}) → Uint8List? - Get turn image.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
registerAutoReleaseObject(
int pointerId) → void -
Registers an object for auto release.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited