AnimatedChild constructor
const
AnimatedChild({
- Key? key,
- Key? btnKey,
- required Animation<
double> animation, - int? index,
- Color? backgroundColor,
- Color? foregroundColor,
- double? elevation = 6.0,
- Size buttonSize = const Size(56.0, 56.0),
- Widget? child,
- String? label,
- TextStyle? labelStyle,
- List<
BoxShadow> ? labelShadow, - Color? labelBackgroundColor,
- Widget? labelWidget,
- bool visible = true,
- VoidCallback? onTap,
- required LabelLocation? labelLocation,
- VoidCallback? onLongPress,
- VoidCallback? toggleChildren,
- ShapeBorder? shapeBorder,
- String? heroTag,
Implementation
const AnimatedChild({
Key? key,
this.btnKey,
required Animation<double> animation,
this.index,
this.backgroundColor,
this.foregroundColor,
this.elevation = 6.0,
this.buttonSize = const Size(56.0, 56.0),
this.child,
this.label,
this.labelStyle,
this.labelShadow,
this.labelBackgroundColor,
this.labelWidget,
this.visible = true,
this.onTap,
required this.labelLocation,
// required this.margin,
this.onLongPress,
this.toggleChildren,
this.shapeBorder,
this.heroTag,
}) : super(key: key, listenable: animation);