CPPointOfInterestTemplate constructor

CPPointOfInterestTemplate({
  1. required String title,
  2. required List<CPPointOfInterest> poi,
  3. String? tabTitle,
  4. bool showsTabBadge = false,
  5. String? systemIcon,
  6. VoidCallback? onPop,
  7. String? id,
})

Implementation

CPPointOfInterestTemplate({
  required this.title,
  required this.poi,
  super.tabTitle,
  super.showsTabBadge = false,
  super.systemIcon,
  super.onPop,
  String? id,
}) : _elementId = id ?? const Uuid().v4();