AndroidViewMode enum Maps & 3D Scenes
Mode of hosting native Android view in Flutter
Values
- auto → const AndroidViewMode
-
Automatically select the most appropriate view mode based on Android version.
- hybridComposition → const AndroidViewMode
-
Use hybrid composition (recommended for modern Android versions).
- virtualDisplay → const AndroidViewMode
-
Use a virtual display to host the native view. Compatibility fallback for older devices or special cases.
- textureView → const AndroidViewMode
-
Render the native map using a TextureView. Useful when OpenGL texture rendering is required.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - 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<
AndroidViewMode> - A constant List of the values in this enum, in order of their declaration.