FloatingButton constructor

const FloatingButton({
  1. Key? key,
  2. required IconData icon,
  3. VoidCallback? onPressed,
  4. String? tooltip,
  5. Object? heroTag,
  6. Gradient? gradient,
  7. double size = 56,
  8. double iconSize = 24,
  9. Color? iconColor,
  10. Color? backgroundColor,
  11. ShapeBorder? shape,
  12. String? extendedLabel,
})

Implementation

const FloatingButton({
  super.key,
  required this.icon,
  this.onPressed,
  this.tooltip,
  this.heroTag,
  this.gradient,
  this.size = 56,
  this.iconSize = 24,
  this.iconColor,
  this.backgroundColor,
  this.shape,
  this.extendedLabel,
});