small static method

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

Creates a small circular floating action button.

This constructor overrides the default size constraints of the floating action button.

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

Implementation

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