LedgerMenuItem constructor

const LedgerMenuItem(
  1. String label, {
  2. num? amount,
  3. bool selected = false,
  4. VoidCallback? onTap,
  5. Key? key,
})

An item worded label, with an optional amount.

Implementation

const LedgerMenuItem(
  this.label, {
  this.amount,
  this.selected = false,
  this.onTap,
  this.key,
});