CPGridTemplate class

A template object that displays and manages a grid of items.

Constructors

CPGridTemplate({required String title, required List<CPGridButton> buttons})
Creates CPGridTemplate in order to display a grid of items as buttons. When creating the grid template, provide an array of CPGridButton objects. Each button must contain a title that is shown in the grid template's navigation bar.

Properties

buttons List<CPGridButton>
The array of grid buttons as CPGridButton displayed on the template.
final
hashCode int
The hash code for this object.
no setterinherited
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