ActionButton constructor
ActionButton({
- Key? key,
- String title = '',
- String subTitle = '',
- FontWeight fontWeight = FontWeight.w400,
- TextStyle titleStyle = const TextStyle(),
- TextStyle subTitleStyle = const TextStyle(),
- IconData? icon,
- required dynamic onPressed(),
- dynamic onLongPress()?,
- bool checked = false,
- bool number = false,
- Color? fillColor,
Implementation
ActionButton(
{Key? key,
this.title = '',
this.subTitle = '',
this.fontWeight = FontWeight.w400,
this.titleStyle = const TextStyle(),
this.subTitleStyle = const TextStyle(),
this.icon,
required this.onPressed,
this.onLongPress,
this.checked = false,
this.number = false,
this.fillColor})
: super(key: key);