LottieDrawable class
Constructors
- LottieDrawable(LottieComposition composition, {LottieDelegates? delegates})
Properties
- antiAliasingSuggested ↔ bool
-
Gives a suggestion whether to paint with anti-aliasing, or not. Default is true.
getter/setter pair
- composition → LottieComposition
-
final
- compositionLayer → CompositionLayer
-
no setter
- delegates ↔ LottieDelegates?
-
getter/setter pair
- enableMergePaths ↔ bool
-
getter/setter pair
- filterQuality ↔ FilterQuality?
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- isApplyingOpacityToLayersEnabled ↔ bool
-
Sets whether to apply opacity to the each layer instead of shape.
getter/setter pair
- progress → double
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- size → Size
-
final
- useTextGlyphs → bool
-
no setter
Methods
-
draw(
Canvas canvas, Rect rect, {BoxFit? fit, Alignment? alignment}) → void -
getImageAsset(
String? ref) → Image? -
getTextStyle(
String font, String style) → TextStyle -
invalidateSelf(
) → void -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setProgress(
double value, {FrameRate? frameRate}) → bool -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited