miniIcon static method

Widget miniIcon({
  1. Key? key,
  2. double? iconSize,
  3. VisualDensity? visualDensity,
  4. EdgeInsetsGeometry? padding,
  5. EdgeInsetsGeometry? margin,
  6. AlignmentGeometry? alignment,
  7. double? splashRadius,
  8. Widget? child,
  9. Color? color,
  10. Color? focusColor,
  11. Color? hoverColor,
  12. Color? highlightColor,
  13. Color? splashColor,
  14. Color? disabledColor,
  15. VoidCallback? onPressed,
  16. MouseCursor? mouseCursor,
  17. FocusNode? focusNode,
  18. bool back = false,
  19. bool autofocus = false,
  20. bool primary = false,
  21. bool enabled = true,
  22. bool tintLabel = true,
  23. String? tooltip,
  24. String? label,
  25. TextStyle? labelStyle,
  26. bool enableFeedback = true,
  27. bool busy = false,
  28. BoxConstraints? constraints,
})

Create a mini icon button.

Implementation

static Widget miniIcon({
  Key? key,
  double? iconSize,
  VisualDensity? visualDensity,
  EdgeInsetsGeometry? padding,
  EdgeInsetsGeometry? margin,
  AlignmentGeometry? alignment,
  double? splashRadius,
  Widget? child,
  Color? color,
  Color? focusColor,
  Color? hoverColor,
  Color? highlightColor,
  Color? splashColor,
  Color? disabledColor,
  VoidCallback? onPressed,
  MouseCursor? mouseCursor,
  FocusNode? focusNode,
  bool back = false,
  bool autofocus = false,
  bool primary = false,
  bool enabled = true,
  bool tintLabel = true,
  String? tooltip,
  String? label,
  TextStyle? labelStyle,
  bool enableFeedback = true,
  bool busy = false,
  BoxConstraints? constraints,
}) =>
    icon(
      key: key,
      iconSize: iconSize,
      visualDensity: visualDensity,
      padding: padding,
      margin: margin,
      alignment: alignment,
      splashRadius: splashRadius,
      child: child,
      color: color,
      focusColor: focusColor,
      hoverColor: hoverColor,
      highlightColor: highlightColor,
      splashColor: splashColor,
      disabledColor: disabledColor,
      onPressed: onPressed,
      mouseCursor: mouseCursor,
      focusNode: focusNode,
      back: back,
      autofocus: autofocus,
      primary: primary,
      enabled: enabled,
      busy: busy,
      mini: true,
      tintLabel: tintLabel,
      tooltip: tooltip,
      label: label,
      labelStyle: labelStyle,
      enableFeedback: enableFeedback,
      constraints: constraints,
    );