AnimatedChild constructor

const AnimatedChild({
  1. Key? key,
  2. Key? btnKey,
  3. required Animation<double> animation,
  4. int? index,
  5. Color? backgroundColor,
  6. Color? foregroundColor,
  7. double? elevation = 6.0,
  8. Size buttonSize = const Size(56.0, 56.0),
  9. Widget? child,
  10. String? label,
  11. TextStyle? labelStyle,
  12. List<BoxShadow>? labelShadow,
  13. Color? labelBackgroundColor,
  14. Widget? labelWidget,
  15. bool visible = true,
  16. VoidCallback? onTap,
  17. required LabelLocation? labelLocation,
  18. VoidCallback? onLongPress,
  19. VoidCallback? toggleChildren,
  20. ShapeBorder? shapeBorder,
  21. 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);