build method
构建呼吸灯动画组件。
返回:带呼吸缩放动画和发光背景效果的Widget。
Implementation
@override
Widget build(BuildContext context) {
return _BreathBoxInner(
minScale: minScale,
maxScale: maxScale,
size: size,
glowColor: glowColor,
onScaleUp: onScaleUp,
onScaleDown: onScaleDown,
onBreathing: onBreathing,
child: child,
);
}