RowWidgetModel<T> class

This is the class RowWidgetModel

Constructors

RowWidgetModel({required List<RowFieldWidgetModel> rowFieldList, T? others, CheckBoxWidgetStyle? checkBoxWidgetStyle, bool rowClickable = false, dynamic onRowClick()?, bool canBeSelected = true})
constructor

Properties

canBeSelected bool
canBeSelected is a boolean. this indicates if this row can be selected if multi select mode is on for the table by setting isCheckBoxMultiSelectAllowed to true. By default it is true. By setting it false will disable the row for multiselect.
getter/setter pair
checkBoxWidgetStyle CheckBoxWidgetStyle?
checkBoxWidgetStyle is a CheckBoxWidgetStyle type. If the multiselect mode is enabled then this field is for the style of the checkbox.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
isSelected bool
check if the row is selected
getter/setter pair
onRowClick ↔ dynamic Function()?
onRowClick is a Function. this function is called when the particular row is tapped.
getter/setter pair
others ↔ T?
other is a Generic Type. if anyone wants to put some other information about this row to use it later, he/she may put any type of data here. All you need is just to put the Generic Data type when initializing the widget.
getter/setter pair
rowClickable bool
rowClickable is a boolean type field. If you want to make your row clickable, then make this field "true". This field is "false" by default.
getter/setter pair
rowFieldList List<RowFieldWidgetModel>
rowFieldList is a List of RowFieldWidgetModel. This is a required field. This field indicates the list of row cell for a single row.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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