CPPointOfInterestTemplate constructor
CPPointOfInterestTemplate({
- required String title,
- required List<
CPPointOfInterest> poi, - String? tabTitle,
- bool showsTabBadge = false,
- String? systemIcon,
- VoidCallback? onPop,
- String? id,
Creates CPPointOfInterestTemplate
Implementation
CPPointOfInterestTemplate({
required this.title,
required this.poi,
super.tabTitle,
super.showsTabBadge = false,
super.systemIcon,
super.onPop,
String? id,
}) : _elementId = id ?? const Uuid().v4();