CharacterAnimation constructor

const CharacterAnimation({
  1. double opacity = 1.0,
  2. Offset translation = Offset.zero,
  3. double scale = 1.0,
  4. double scaleX = 1.0,
  5. double scaleY = 1.0,
  6. Color? color,
  7. Color? backgroundColor,
  8. double blurSigma = 0.0,
  9. double rotation = 0.0,
  10. double rotationX = 0.0,
  11. double rotationY = 0.0,
  12. double underlineProgress = 0.0,
  13. double clipProgress = 1.0,
  14. 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,
});