MarkedButton constructor

MarkedButton({
  1. void onPressed()?,
  2. required Icon icon,
  3. String text = '',
  4. Color unimportantColor = Colors.grey,
  5. Color importantColor = Colors.red,
  6. Color? underColor,
  7. Color? color,
  8. TextStyle? textStyle,
  9. String? textRight,
  10. String? textUnder,
  11. MarkedButtonInfoType importantType = MarkedButtonInfoType.Unimportant,
})

Implementation

MarkedButton(
    {this.onPressed,
    required this.icon,
    this.text = '',
    this.unimportantColor = Colors.grey,
    this.importantColor = Colors.red,
    this.underColor,
    this.color,
    this.textStyle,
    this.textRight,
    this.textUnder,
    this.importantType = MarkedButtonInfoType.Unimportant});