ActionButton constructor

ActionButton({
  1. Key? key,
  2. String title = '',
  3. String subTitle = '',
  4. FontWeight fontWeight = FontWeight.w400,
  5. TextStyle titleStyle = const TextStyle(),
  6. TextStyle subTitleStyle = const TextStyle(),
  7. IconData? icon,
  8. required dynamic onPressed(),
  9. dynamic onLongPress()?,
  10. bool checked = false,
  11. bool number = false,
  12. 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);