CPInformationTemplate class
A template object that displays and manages information items and text buttons.
Constructors
-
CPInformationTemplate({required String title, required CPInformationTemplateLayout layout, required List<
CPTextButton> actions, required List<CPInformationItem> informationItems}) - Creates CPInformationTemplate
Properties
-
actions
→ List<
CPTextButton> -
The array of actions as CPTextButton displayed on the template.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
informationItems
→ List<
CPInformationItem> -
The array of information items as CPInformationItem displayed on the template.
final
- layout → CPInformationTemplateLayout
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- title → String
-
A title will be shown in the navigation bar.
final
- uniqueId → String
-
no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited