BloomView class

Metadata annotation declaring a native platform view (e.g. Camera preview, Map, AR view).

Links the Dart widget wrapper to the host platform view factory registered under name.

Example:

@BloomView(name: 'BloomCameraView')
class CameraPreviewWidget extends StatelessWidget { ... }

Constructors

BloomView({required String name})
Creates a BloomView annotation for platform view name.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
name String
Native platform view identifier registered with the host platform view factory.
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