AnimatedFloatingButton constructor

const AnimatedFloatingButton({
  1. Key? key,
  2. VoidCallback? callback,
  3. Widget? label,
  4. Widget? child,
  5. Widget? dialRoot,
  6. bool useInkWell = false,
  7. Color? backgroundColor,
  8. Color? foregroundColor,
  9. String? tooltip,
  10. String? heroTag,
  11. double elevation = 6.0,
  12. double size = 56.0,
  13. ShapeBorder shape = const CircleBorder(),
  14. Curve curve = Curves.fastOutSlowIn,
  15. VoidCallback? onLongPress,
})

Implementation

const AnimatedFloatingButton({
  Key? key,
  this.callback,
  this.label,
  this.child,
  this.dialRoot,
  this.useInkWell = false,
  this.backgroundColor,
  this.foregroundColor,
  this.tooltip,
  this.heroTag,
  this.elevation = 6.0,
  this.size = 56.0,
  this.shape = const CircleBorder(),
  this.curve = Curves.fastOutSlowIn,
  this.onLongPress,
}) : super(key: key);