extended static method

SingleChildModifier extended({
  1. Key? key,
  2. Widget? icon,
  3. Key? modifierKey,
  4. required Widget label,
  5. String? tooltip,
  6. Color? foregroundColor,
  7. Color? backgroundColor,
  8. Color? focusColor,
  9. Color? hoverColor,
  10. Object? heroTag,
  11. double? elevation,
  12. double? focusElevation,
  13. double? hoverElevation,
  14. Color? splashColor,
  15. double? highlightElevation,
  16. double? disabledElevation,
  17. required VoidCallback onPressed,
  18. MouseCursor mouseCursor = SystemMouseCursors.click,
  19. ShapeBorder? shape,
  20. bool isExtended = true,
  21. MaterialTapTargetSize? materialTapTargetSize,
  22. Clip clipBehavior = Clip.none,
  23. FocusNode? focusNode,
  24. bool autofocus = false,
  25. double? extendedIconLabelSpacing,
  26. EdgeInsetsGeometry? extendedPadding,
  27. TextStyle? extendedTextStyle,
  28. bool? enableFeedback,
})

Creates a wider StadiumBorder-shaped floating action button with an optional icon and a label.

The label, autofocus, and clipBehavior arguments must not be null. Additionally, elevation, highlightElevation, and disabledElevation (if specified) must be non-negative.

See also:

Implementation

static SingleChildModifier extended({
  Key? key,
  Widget? icon,
  Key? modifierKey,
  required Widget label,
  String? tooltip,
  Color? foregroundColor,
  Color? backgroundColor,
  Color? focusColor,
  Color? hoverColor,
  Object? heroTag,
  double? elevation,
  double? focusElevation,
  double? hoverElevation,
  Color? splashColor,
  double? highlightElevation,
  double? disabledElevation,
  required VoidCallback onPressed,
  MouseCursor mouseCursor = SystemMouseCursors.click,
  ShapeBorder? shape,
  bool isExtended = true,
  MaterialTapTargetSize? materialTapTargetSize,
  Clip clipBehavior = Clip.none,
  FocusNode? focusNode,
  bool autofocus = false,
  double? extendedIconLabelSpacing,
  EdgeInsetsGeometry? extendedPadding,
  TextStyle? extendedTextStyle,
  bool? enableFeedback,
}) =>
    _FloatingActionButtonModifierExtended(
      key: key,
      modifierKey: modifierKey,
      icon: icon,
      label: label,
      onPressed: onPressed,
      autofocus: autofocus,
      backgroundColor: backgroundColor,
      clipBehavior: clipBehavior,
      disabledElevation: disabledElevation,
      elevation: elevation,
      enableFeedback: enableFeedback,
      extendedIconLabelSpacing: extendedIconLabelSpacing,
      extendedPadding: extendedPadding,
      extendedTextStyle: extendedTextStyle,
      focusColor: focusColor,
      focusElevation: focusElevation,
      focusNode: focusNode,
      foregroundColor: foregroundColor,
      heroTag: heroTag,
      highlightElevation: highlightElevation,
      hoverColor: hoverColor,
      hoverElevation: hoverElevation,
      isExtended: isExtended,
      materialTapTargetSize: materialTapTargetSize,
      mouseCursor: mouseCursor,
      shape: shape,
      splashColor: splashColor,
      tooltip: tooltip,
    );