CharacterWidget constructor
CharacterWidget({
- Key? key,
- required Character character,
- double width = 200,
- double height = 200,
- double heightRatio = 1.0,
- double widthRatio = 1.0,
- Alignment alignment = Alignment.bottomCenter,
- EdgeInsets padding = const EdgeInsets.all(12),
- int animationDuration = 100,
- BehaviorEnum? currentBehavior,
- bool debug = false,
- bool uselocal = false,
- 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);