DatatableHeader class

Constructors

DatatableHeader({required String text, required String value, TextAlign textAlign = TextAlign.center, bool sortable = false, bool show = true, bool editable = false, bool withButtonClear = false, int flex = 1, DataTableFormat format = DataTableFormat.normal, Widget headerBuilder(dynamic value)?, Widget sourceBuilder(dynamic value, Map<String?, dynamic> row)?, List<String> items = const [], List<TextInputFormatter>? textInputFormatter})
DatatableHeader.fromMap(Map<String, dynamic> map)
factory

Properties

editable bool
final
flex int
final
format DataTableFormat
final
hashCode int
The hash code for this object.
no setterinherited
headerBuilder Widget Function(dynamic value)?
final
items List<String>
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
textInputFormatter List<TextInputFormatter>?
final
value String
final
withButtonClear bool
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