AndroidPlatformViewHostingMode enum

A mode for platform MapView to be hosted in Flutter on Android platform.

As per https://github.com/flutter/flutter/wiki/Android-Platform-Views#selecting-a-mode

Inheritance
Annotations
  • @experimental

Constructors

AndroidPlatformViewHostingMode()
const

Values

TLHC_VD → const AndroidPlatformViewHostingMode

Texture Layer Hybrid Composition with fallback to Virtual Display, when the current SDK version is <23 or MapWidget.textureView is false.

https://github.com/flutter/flutter/wiki/Texture-Layer-Hybrid-Composition

TLHC_HC → const AndroidPlatformViewHostingMode

Use Texture Layer Hybrid Composition hosting mode with fallback to Hybrid Composition, when the current SDK version is <23 or MapWidget.textureView is false.

https://github.com/flutter/flutter/wiki/Texture-Layer-Hybrid-Composition

HC → const AndroidPlatformViewHostingMode

Always use Hybrid Composition hosting mode.

https://github.com/flutter/flutter/wiki/Hybrid-Composition

VD → const AndroidPlatformViewHostingMode

Always use Virtual Display hosting mode.

https://github.com/flutter/flutter/wiki/Virtual-Display

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
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
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

values → const List<AndroidPlatformViewHostingMode>
A constant List of the values in this enum, in order of their declaration.