miniIcon static method
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,
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,
);