AndroidViewComposition enum

Inheritance
Available extensions

Values

HYBRID_COMPOSITION → const AndroidViewComposition

initExpensiveAndroidView - using PlatformView to render the video

const AndroidViewComposition(true)
TEXTURE_LAYER → const AndroidViewComposition

initAndroidView - PlatformView - using PlatformView to render the video

const AndroidViewComposition(true)
SURFACE_TEXTURE → const AndroidViewComposition

uses Texture instead of PlatformView

const AndroidViewComposition(false)
SURFACE_PRODUCER → const AndroidViewComposition

uses Texture(instead of PlatformView) with SurfaceProducer, works with Impeller too from Flutter 3.22 https://docs.flutter.dev/release/breaking-changes/android-surface-plugins

const AndroidViewComposition(false)

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
isPlatformView bool
final
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<AndroidViewComposition>
A constant List of the values in this enum, in order of their declaration.