NmLineDetail constructor

const NmLineDetail({
  1. Key? key,
  2. required String title,
  3. required List<NmMetric> stats,
  4. String? subtitle,
  5. List<Widget> actions = const [],
  6. Future<String> onSendUssd(
    1. String code
    )?,
  7. List<String> ussdPresets = const ['*100#', '*102#', '*105#'],
  8. Map<String, String> identifiers = const {},
  9. Widget? footer,
  10. VoidCallback? onBack,
})

Creates an NmLineDetail.

Implementation

const NmLineDetail({
  super.key,
  required this.title,
  required this.stats,
  this.subtitle,
  this.actions = const [],
  this.onSendUssd,
  this.ussdPresets = const ['*100#', '*102#', '*105#'],
  this.identifiers = const {},
  this.footer,
  this.onBack,
});