BreathBox constructor
const
BreathBox({
- Key? key,
- required Widget child,
- double minScale = 0.6,
- double maxScale = 1.6,
- double size = 180,
- Color glowColor = Colors.lightBlue,
- VoidCallback? onScaleUp,
- VoidCallback? onScaleDown,
- void onBreathing(
- double scale
构造方法
Implementation
const BreathBox({
super.key,
required this.child,
this.minScale = 0.6,
this.maxScale = 1.6,
this.size = 180,
this.glowColor = Colors.lightBlue,
this.onScaleUp,
this.onScaleDown,
this.onBreathing,
});