TextureAndroidViewControllerWrapper class
- Implemented types
Constructors
Properties
- awaitingCreation ↔ bool
-
Beginning with flutter 3,
_controller.awaitingCreation
should be called.getter/setter pairoverride-getter -
createdCallbacks
→ List<
PlatformViewCreatedCallback> -
Beginning with flutter 3,
_controller.createdCallbacks
should be called.no setteroverride - hashCode → int
-
The hash code for this object.
no setterinherited
- isCreated → bool
-
Whether the platform view has already been created.
no setteroverride
- pointTransformer ↔ PointTransformer
-
Converts a given point from the global coordinate system in logical pixels
to the local coordinate system for this box.
getter/setter pairoverride
- requiresViewComposition → bool
-
True if the view requires native view composition rather than using a
texture to render.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- textureId → int?
-
Returns the texture entry id that the Android view is rendering into.
no setteroverride
- viewId → int
-
The unique identifier of the Android view controlled by this controller.
no setteroverride
Methods
-
addOnPlatformViewCreatedListener(
PlatformViewCreatedCallback listener) → void -
Adds a callback that will get invoke after the platform view has been
created.
override
-
clearFocus(
) → Future< void> -
Clears the focus from the Android View if it is focused.
override
-
create(
{Size? size}) → Future< void> -
Beginning with flutter 3,
_controller.create
withsize
should be called.override -
dispatchPointerEvent(
PointerEvent event) → Future< void> -
Converts the PointerEvent and sends an Android MotionEvent
to the view.
override
-
dispose(
) → Future< void> -
Beginning with flutter 3, disposal is called to soon, resulting in crashes.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
removeOnPlatformViewCreatedListener(
PlatformViewCreatedCallback listener) → void -
Removes a callback added with addOnPlatformViewCreatedListener.
override
-
sendMotionEvent(
AndroidMotionEvent event) → Future< void> -
Sends an Android MotionEvent
to the view.
override
-
setLayoutDirection(
TextDirection layoutDirection) → Future< void> -
Sets the layout direction for the Android view.
override
-
setOffset(
Offset off) → Future< void> -
Beginning with flutter 3,
_controller.setOffset(off)
should be called.override -
setSize(
Size size) → Future< Size> -
Sizes the Android View.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited