Widget.floatingActionButtonExtended constructor Null safety

const Widget.floatingActionButtonExtended(
  1. {Key? key,
  2. required Widget label,
  3. Widget? icon,
  4. String? tooltip,
  5. Color? foregroundColor,
  6. Color? backgroundColor,
  7. Color? focusColor,
  8. Color? hoverColor,
  9. Color? splashColor,
  10. double? elevation,
  11. double? focusElevation,
  12. double? hoverElevation,
  13. double? highlightElevation,
  14. double? disabledElevation,
  15. required Callback? onPressed,
  16. MouseCursor? mouseCursor,
  17. ShapeBorder? shape,
  18. @Default(Clip.none) Clip clipBehavior,
  19. @Default(false) bool autofocus,
  20. MaterialTapTargetSize? materialTapTargetSize,
  21. @Default(true) bool isExtended,
  22. bool? enableFeedback}
)

Implementation

const factory Widget.floatingActionButtonExtended({
  Key? key,
  required Widget label,
  Widget? icon,
  String? tooltip,
  Color? foregroundColor,
  Color? backgroundColor,
  Color? focusColor,
  Color? hoverColor,
  Color? splashColor,
  double? elevation,
  double? focusElevation,
  double? hoverElevation,
  double? highlightElevation,
  double? disabledElevation,
  required Callback? onPressed,
  MouseCursor? mouseCursor,
  ShapeBorder? shape,
  @Default(Clip.none) Clip clipBehavior,
  @Default(false) bool autofocus,
  MaterialTapTargetSize? materialTapTargetSize,
  @Default(true) bool isExtended,
  bool? enableFeedback,
}) = FloatingActionButtonExtended;