LaneImg class Images

Vector lane guidance image for navigation instructions.

SDK-generated vector image showing lane guidance arrows and markings for turn-by-turn navigation. Supports lossless scaling to any size (isScalable returns true). Cannot be instantiated by users - only provided by the SDK through navigation NavigationInstruction.laneImg and

Customize appearance using LaneImageRenderSettings to control colors for active/inactive lanes and background. Set allowResize to true to let the SDK choose optimal aspect ratio based on requested height.

See also:

Inheritance

Properties

hashCode → int
The hash code for this object.
no setterinherited
hasRegisteredAutoReleaseObject ↔ bool
getter/setter pairinherited
imageType → ImageType
Category of this image indicating its source and purpose.
no setterinherited
isCacheable → bool
Whether renders of this image may be memoized by ImgCache.
no setterinherited
isScalable → bool
Whether the image uses a vector format and supports lossless scaling.
no setteroverride
isValid → bool
Whether the SDK has valid image data available.
no setterinherited
pointerId → int
The pointer ID of the native object
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
uid → int
Unique identifier for this image instance.
no setterinherited

Methods

cachedFlutterImgCall({required int widthPx, required int heightPx, required ImageFileFormat format, required String? arg, required int settingsHash, required bool allowResize}) → RenderableImg?
Memoized variant of GemKitPlatform.callGetFlutterImg.
inherited
dispose() → void
Disposes the native object.
inherited
getRenderableImage({Size? size, ImageFileFormat format = ImageFileFormat.png, LaneImageRenderSettings? renderSettings, bool allowResize = false}) → RenderableImg?
Retrieves image with bytes and actual rendered dimensions.
override
getRenderableImageBytes({Size? size, ImageFileFormat format = ImageFileFormat.png, LaneImageRenderSettings? renderSettings, bool allowResize = false}) → Uint8List?
Retrieves image bytes suitable for display with Image.memory.
override
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