RALINavigationState class
///////////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////////
Constructors
-
////////////
////////////
const
-
Creates a state when navigation is active
factory
-
////////////
////////////
Creates an initial navigation state
factory
-
Creates a state when route is planned
factory
Properties
- currentLocation → Point?
-
final
- destination → Point?
-
final
- estimatedTimeRemaining → Duration?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
Checks if navigation is currently in progress
no setter
- isNearDestination → bool
-
/////////
/////////
Determines if navigation has reached or is near destination
no setter
- mode → RALINavigationMode
-
////////////
////////////
final
-
final
-
final
- progress → double
-
final
- remainingDistance → double?
-
Calculates remaining distance (if current location and destination are known)
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- status → NavigationStatus
-
final
Methods
-
copyWith(
{RALINavigationMode? mode, NavigationStatus? status, Point? currentLocation, Point? destination, double? progress, Duration? estimatedTimeRemaining}) → RALINavigationState - Creates a copy of the current state with optional updates
-
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