HcClearButtonProps constructor
const
HcClearButtonProps({
- Widget icon = const Icon(Icons.clear, size: 24),
- bool isVisible = false,
- double iconSize = 24.0,
- VisualDensity? visualDensity,
- EdgeInsetsGeometry padding = const EdgeInsets.all(8.0),
- AlignmentGeometry alignment = Alignment.center,
- double? splashRadius,
- Color? color,
- Color? focusColor,
- Color? hoverColor,
- Color? highlightColor,
- Color? splashColor,
- Color? disabledColor,
- MouseCursor mouseCursor = SystemMouseCursors.click,
- FocusNode? focusNode,
- bool autofocus = false,
- String? tooltip,
- bool enableFeedback = false,
- BoxConstraints? constraints,
- ButtonStyle? style,
- bool? isSelected,
- Widget? selectedIcon,
- dynamic onPressed()?,
Implementation
const HcClearButtonProps({
super.icon = const Icon(Icons.clear, size: 24),
super.isVisible = false,
super.iconSize = 24.0,
super.visualDensity,
super.padding = const EdgeInsets.all(8.0),
super.alignment = Alignment.center,
super.splashRadius,
super.color,
super.focusColor,
super.hoverColor,
super.highlightColor,
super.splashColor,
super.disabledColor,
super.mouseCursor = SystemMouseCursors.click,
super.focusNode,
super.autofocus = false,
super.tooltip,
super.enableFeedback = false,
super.constraints,
super.style,
super.isSelected,
super.selectedIcon,
super.onPressed,
});