AurisDataRow constructor

const AurisDataRow({
  1. Key? key,
  2. required String label,
  3. String? value,
  4. Widget? trailing,
  5. bool highlight = false,
  6. double height = 40,
})

Creates a key/value data row.

Implementation

const AurisDataRow({
  super.key,
  required this.label,
  this.value,
  this.trailing,
  this.highlight = false,
  this.height = 40,
}) : assert(
       value != null || trailing != null,
       'Provide a value, a trailing widget, or both.',
     );