CharacterAnimation constructor
const
CharacterAnimation({
- double opacity = 1.0,
- Offset translation = Offset.zero,
- double scale = 1.0,
- double scaleX = 1.0,
- double scaleY = 1.0,
- Color? color,
- Color? backgroundColor,
- double blurSigma = 0.0,
- double rotation = 0.0,
- double rotationX = 0.0,
- double rotationY = 0.0,
- double underlineProgress = 0.0,
- double clipProgress = 1.0,
- String? character,
Creates a CharacterAnimation with all properties defaulting to identity values (no animation applied).
Parameters default to identity values: opacity=1, translation=zero, scale=1, blur=0, rotation=0, clipProgress=1, character=null.
Implementation
const CharacterAnimation({
this.opacity = 1.0,
this.translation = Offset.zero,
this.scale = 1.0,
this.scaleX = 1.0,
this.scaleY = 1.0,
this.color,
this.backgroundColor,
this.blurSigma = 0.0,
this.rotation = 0.0,
this.rotationX = 0.0,
this.rotationY = 0.0,
this.underlineProgress = 0.0,
this.clipProgress = 1.0,
this.character,
});