Scene class abstract

An opaque object representing a composited scene.

To create a Scene object, use a SceneBuilder.

Scene objects can be displayed on the screen using the FlutterView.render method.

Constructors

Scene()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

dispose() → void
Releases the resources used by this scene.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toImage(int width, int height) Future<Image>
Creates a raster image representation of the current state of the scene.
toImageSync(int width, int height) Image
Synchronously creates a handle to an image from this scene.
toString() String
A string representation of this object.
inherited

Operators

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