XOperateButton constructor
const
XOperateButton({
- Key? key,
- required IconData iconData,
- VoidCallback? onPressed,
- String? tooltip,
- bool isDanger = false,
- bool disabled = false,
- bool isSelected = false,
- bool isDisplayed = true,
- Color color = Colors.black54,
- Color selectedColor = Colors.blueGrey,
- double iconSize = 15,
- double width = 30,
- double height = 30,
Implementation
const XOperateButton({
super.key,
required this.iconData,
this.onPressed,
this.tooltip,
this.isDanger = false,
this.disabled = false,
this.isSelected = false,
this.isDisplayed = true,
this.color = Colors.black54,
this.selectedColor = Colors.blueGrey,
this.iconSize = 15,
this.width = 30,
this.height = 30,
});