HcClearButtonProps constructor

const HcClearButtonProps({
  1. Widget icon = const Icon(Icons.clear, size: 24),
  2. bool isVisible = false,
  3. double iconSize = 24.0,
  4. VisualDensity? visualDensity,
  5. EdgeInsetsGeometry padding = const EdgeInsets.all(8.0),
  6. AlignmentGeometry alignment = Alignment.center,
  7. double? splashRadius,
  8. Color? color,
  9. Color? focusColor,
  10. Color? hoverColor,
  11. Color? highlightColor,
  12. Color? splashColor,
  13. Color? disabledColor,
  14. MouseCursor mouseCursor = SystemMouseCursors.click,
  15. FocusNode? focusNode,
  16. bool autofocus = false,
  17. String? tooltip,
  18. bool enableFeedback = false,
  19. BoxConstraints? constraints,
  20. ButtonStyle? style,
  21. bool? isSelected,
  22. Widget? selectedIcon,
  23. 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,
});