CPInformationTemplate constructor
CPInformationTemplate({
- required String title,
- required CPInformationTemplateLayout layout,
- required List<
CPTextButton> actions, - required List<
CPInformationItem> informationItems, - String? tabTitle,
- bool showsTabBadge = false,
- String? systemIcon,
- String? id,
Creates CPInformationTemplate
Implementation
CPInformationTemplate({
required this.title,
required this.layout,
required this.actions,
required this.informationItems,
super.tabTitle,
super.showsTabBadge = false,
super.systemIcon,
String? id,
}) : _elementId = id ?? const Uuid().v4();