DatatableHeader class

Constructors

DatatableHeader({required String text, required String value, TextAlign textAlign = TextAlign.center, bool sortable = false, bool show = true, bool editable = false, int flex = 1, Widget headerBuilder(dynamic value)?, Widget sourceBuilder(dynamic value, Map<String?, dynamic> row)?})
DatatableHeader.fromMap(Map<String, dynamic> map)
factory

Properties

editable bool
final
flex int
final
hashCode int
The hash code for this object.
no setterinherited
headerBuilder → (Widget Function(dynamic value)?)
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
show bool
getter/setter pair
sortable bool
final
sourceBuilder → (Widget Function(dynamic value, Map<String?, dynamic> row)?)
final
text String
final
textAlign TextAlign
final
value String
final

Methods

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

Operators

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