AnimatedFloatingButton constructor

const AnimatedFloatingButton({
  1. Key? key,
  2. required List<FloatingButtonProps> childrenProps,
  3. Color? mainButtonColor,
  4. bool isDismissible = false,
  5. Color? shadowColor,
  6. TextDirection direction = TextDirection.rtl,
  7. TextStyle? labelStyle,
  8. Curve shadowCurve = Curves.linear,
  9. Curve buttonsCurve = Curves.linear,
  10. Duration duration = const Duration(milliseconds: 250),
  11. Widget? openIcon = const Icon(Icons.add, color: Colors.white),
  12. Widget? closeIcon = const Icon(Icons.close, color: Colors.white),
})

Implementation

const AnimatedFloatingButton({
  super.key,
  required this.childrenProps,
  this.mainButtonColor,
  this.isDismissible = false,
  this.shadowColor,
  this.direction = TextDirection.rtl,
  this.labelStyle,
  this.shadowCurve = Curves.linear,
  this.buttonsCurve = Curves.linear,
  this.duration = const Duration(milliseconds: 250),
  this.openIcon = const Icon(Icons.add, color: Colors.white),
  this.closeIcon = const Icon(Icons.close, color: Colors.white),
});