FloatingActionButtonExtended constructor Null safety

const 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. Clip clipBehavior,
  19. bool autofocus,
  20. MaterialTapTargetSize? materialTapTargetSize,
  21. bool isExtended,
  22. bool? enableFeedback}
)

Implementation

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