HcDropdownButtonProps constructor
const
HcDropdownButtonProps({
- Widget icon = const Icon(Icons.arrow_drop_down, size: 24),
- bool isVisible = true,
- 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 HcDropdownButtonProps({
super.icon = const Icon(Icons.arrow_drop_down, size: 24),
super.isVisible = true,
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,
});