AppButton.icon constructor
AppButton.icon({})
Implementation
factory AppButton.icon({
required Widget icon,
Color? fillColor,
Color? hoverColor,
bool? loading,
EdgeInsets? padding,
ValueChanged<bool>? onHover,
FutureOrCallback? onPressed,
FutureOrCallback? onPressedDisabled,
String? tooltip,
double size = 40,
bool showAnimation = true,
Key? key,
}) {
return _AppIconButton(
key: key,
fillColor: fillColor,
hoverColor: hoverColor,
loading: loading,
padding: padding,
onHover: onHover,
onPressed: onPressed,
onPressedDisabled: onPressedDisabled,
tooltip: tooltip,
size: size,
showAnimation: showAnimation,
child: icon,
);
}