ActionButton.custom constructor
ActionButton.custom({})
Factory: Fully custom button (NO enum required)
Implementation
factory ActionButton.custom({
Key? key,
required IconData icon,
required String tooltip,
required VoidCallback onPressed,
double iconSize = 18.0,
double? height = 35.0,
double? width = 35.0,
Color? iconColor,
Color? backgroundColor,
}) {
return ActionButton._(
key: key,
onPressed: onPressed,
icon: icon,
tooltip: tooltip,
iconSize: iconSize,
height: height,
width: width,
iconColor: iconColor,
backgroundColor: backgroundColor,
);
}