CharacterWidget constructor

CharacterWidget({
  1. Key? key,
  2. required Character character,
  3. double width = 200,
  4. double height = 200,
  5. double heightRatio = 1.0,
  6. double widthRatio = 1.0,
  7. Alignment alignment = Alignment.bottomCenter,
  8. EdgeInsets padding = const EdgeInsets.all(12),
  9. int animationDuration = 100,
  10. BehaviorEnum? currentBehavior,
  11. bool debug = false,
  12. bool uselocal = false,
  13. bool usespine = false,
})

Implementation

CharacterWidget(
    {Key? key,
    required this.character,
    this.width = 200,
    this.height = 200,
    this.heightRatio = 1.0,
    this.widthRatio = 1.0,
    this.alignment = Alignment.bottomCenter,
    this.padding = const EdgeInsets.all(12),
    this.animationDuration = 100,
    this.currentBehavior,
    this.debug = false,
    this.uselocal = false,
    this.usespine = false})
    : super(key: key);