ParallaxImage class

Specifications with a path to an image and how it should be drawn in relation to the device screen

Constructors

ParallaxImage(String filename, {ImageRepeat repeat = ImageRepeat.repeatX, Alignment alignment = Alignment.bottomLeft, LayerFill fill = LayerFill.height})

Properties

alignment Alignment
How to align the image in relation to the screen
final
filename String
The filename of the image
final
fill LayerFill
How to fill the screen with the image, always proportionally scaled.
final
hashCode int
The hash code for this object. [...]
read-only, inherited
repeat ImageRepeat
If and how the image should be repeated on the canvas
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

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