ColumnGroup class Null safety

ColumnGroup is a group of columns collapsed into a single column. Purpose of this is to show a dropdown menu which the users can use to select which column to display. A group can also have a single column, in which case there will be no dropdown on the UI.

Constructors

ColumnGroup({int? currentColumnIndex, dynamic currentColumn, required List columns})

Properties

columns List
List of columns in this ColumnGroup.
final
currentColumn ↔ dynamic
KnowledgePanelTableColumn that is displayed in the ColumnGroup.
read / write
currentColumnIndex int?
The index of the column that is displayed in the ColumnGroup.
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited