XOperateButton constructor

const XOperateButton({
  1. Key? key,
  2. required IconData iconData,
  3. VoidCallback? onPressed,
  4. String? tooltip,
  5. bool isDanger = false,
  6. bool disabled = false,
  7. bool isSelected = false,
  8. bool isDisplayed = true,
  9. Color color = Colors.black54,
  10. Color selectedColor = Colors.blueGrey,
  11. double iconSize = 15,
  12. double width = 30,
  13. 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,
});