FloatingActionButton constructor

const FloatingActionButton({
  1. Key? key,
  2. Widget? child,
  3. VoidCallback? onPressed,
  4. Color? backgroundColor,
  5. Color? foregroundColor,
  6. double? elevation,
  7. double? hoverElevation,
  8. double? focusElevation,
  9. double? disabledElevation,
  10. ShapeBorder? shape,
  11. bool mini = false,
  12. String? tooltip,
})

Implementation

const FloatingActionButton({
  super.key,
  this.child,
  this.onPressed,
  this.backgroundColor,
  this.foregroundColor,
  this.elevation,
  this.hoverElevation,
  this.focusElevation,
  this.disabledElevation,
  this.shape,
  this.mini = false,
  this.tooltip,
});