HistoryCard constructor

const HistoryCard({
  1. Widget? image,
  2. String index = '-',
  3. String date = '--- -- ----',
  4. String value = '\$ ---',
  5. String detail0 = '--',
  6. String detail1 = '--',
  7. void onPressed()?,
  8. Color? textColor,
  9. Color? backgroundColor,
  10. TextStyle? textStyle,
  11. Key? key,
})

Implementation

const HistoryCard({
  this.image,
  this.index = '-',
  this.date = '--- -- ----',
  this.value = '\$ ---',
  this.detail0 = '--',
  this.detail1 = '--',
  this.onPressed,
  this.textColor,
  this.backgroundColor,
  this.textStyle,
  Key? key,
}) : super(key: key);