ColumnWidgetModel class

this is the whole column model this class initializes the column headers along with all info of columns.

Constructors

ColumnWidgetModel({required List<ColumnHeaderModel> columnsList, CheckBoxWidgetStyle? checkBoxWidgetStyle, bool headerBorder = true, Color? headerBorderColor, Color? backgroundColor, TextStyle? style})
constructor
ColumnWidgetModel.empty()
empty constructor
factory

Properties

backgroundColor Color?
getter/setter pair
checkBoxWidgetStyle CheckBoxWidgetStyle?
checkBoxWidgetStyle is not required and it only accepts a CheckBoxWidgetStyle. This gives a style for the checkbox in the multiselect mode.
getter/setter pair
columnsList List<ColumnHeaderModel>
columnsList is a List of ColumnHeaderModel type enum. This is not required. This is the list where you will put all the column model objects.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
headerBorder bool
headerBorder is a boolean type field. This indicates if you want to have border on column header.
getter/setter pair
headerBorderColor Color?
headerBorderColor is a Color. This is a header border color.
getter/setter pair
isSortable bool
if sort is enabled. this initialized from table sort availability
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
style TextStyle?
style is a TextStyle.
getter/setter pair

Methods

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

Operators

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