DataCard.named constructor

const DataCard.named({
  1. String value = "",
  2. String due = "",
  3. String rate = "",
  4. String status = "",
  5. dynamic onPressed()?,
  6. IconData icon = Icons.arrow_forward_ios,
  7. Color? textColor,
  8. Color? backgroundColor,
  9. Decoration? decoration,
  10. Key? key,
})

Implementation

const DataCard.named({
  String value = "",
  String due = "",
  String rate = "",
  String status = "",
  Function()? onPressed,
  IconData icon = Icons.arrow_forward_ios,
  Color? textColor,
  Color? backgroundColor,
  Decoration? decoration,
  Key? key,
}) :  this.value = value,
      this.due = due,
      this.rate = rate,
      this.status = status,
      this.onPressed = onPressed,
      this.icon = icon,
      this.textColor = textColor,
      this.backgroundColor = backgroundColor,
      this.decoration = decoration,
      super(key: key);