DataCard.named constructor
const
DataCard.named({})
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);