SphereImage class
Represents an image mapped onto a sphere.
The SphereImage class contains information about the image, its radius, origin, and offset.
Example usage:
final image = Image.asset('assets/earth.jpg');
final sphereImage = SphereImage(
image: image,
radius: 100,
origin: Offset(0, 0),
offset: Offset(10, 10),
);
Constructors
- SphereImage.new({required Image image, required double radius, required Offset origin, required Offset offset})
Properties
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