ResponsiveDatatable class

Inheritance

Constructors

ResponsiveDatatable({Key? key, bool showSelect = false, dynamic onSelectAll(bool? value)?, dynamic onSelect(bool? value, Map<String, dynamic> data)?, dynamic onTabRow(Map<String, dynamic> value)?, dynamic onSort(dynamic value)?, List<DatatableHeader> headers = const [], List<Map<String, dynamic>>? source, List<Map<String, dynamic>>? selecteds, Widget? title, List<Widget>? actions, List<Widget>? footers, String? sortColumn, bool? sortAscending, bool isLoading = false, bool autoHeight = true, bool hideUnderline = true, bool commonMobileView = false, bool isExpandRows = true, List<bool>? expanded, Widget dropContainer(Map<String, dynamic> value)?, dynamic onChangedRow(Map<String, dynamic> value, DatatableHeader header)?, dynamic onSubmittedRow(Map<String, dynamic> value, DatatableHeader header)?, List<ScreenSize> reponseScreenSizes = const [ScreenSize.xs, ScreenSize.sm, ScreenSize.md], BoxDecoration? headerDecoration, BoxDecoration? rowDecoration, BoxDecoration? selectedDecoration, TextStyle? headerTextStyle, TextStyle? rowTextStyle, TextStyle? selectedTextStyle})
const

Properties

actions List<Widget>?
final
autoHeight bool
final
commonMobileView bool
final
dropContainer → (Widget Function(Map<String, dynamic> value)?)
final
expanded List<bool>?
final
footers List<Widget>?
final
hashCode int
The hash code for this object.
no setterinherited
headerDecoration BoxDecoration?
headerDecoration
final
headers List<DatatableHeader>
final
headerTextStyle TextStyle?
selectedTextStyle
final
hideUnderline bool
final
isExpandRows bool
final
isLoading bool
final
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
onChangedRow → (dynamic Function(Map<String, dynamic> value, DatatableHeader header)?)
final
onSelect → (dynamic Function(bool? value, Map<String, dynamic> data)?)
final
onSelectAll → (dynamic Function(bool? value)?)
final
onSort → (dynamic Function(dynamic value)?)
final
onSubmittedRow → (dynamic Function(Map<String, dynamic> value, DatatableHeader header)?)
final
onTabRow → (dynamic Function(Map<String, dynamic> value)?)
final
reponseScreenSizes List<ScreenSize>
final
rowDecoration BoxDecoration?
rowDecoration
final
rowTextStyle TextStyle?
selectedTextStyle
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
selectedDecoration BoxDecoration?
selectedDecoration
final
selecteds List<Map<String, dynamic>>?
final
selectedTextStyle TextStyle?
selectedTextStyle
final
showSelect bool
final
sortAscending bool?
final
sortColumn String?
final
source List<Map<String, dynamic>>?
final
title Widget?
final

Methods

createElement() StatefulElement
Creates a StatefulElement to manage this widget's location in the tree.
inherited
createState() → _ResponsiveDatatableState
Creates the mutable state for this widget at a given location in the tree.
override
debugDescribeChildren() List<DiagnosticsNode>
Returns a list of DiagnosticsNode objects describing this node's children.
inherited
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toDiagnosticsNode({String? name, DiagnosticsTreeStyle? style}) DiagnosticsNode
Returns a debug representation of the object that is used by debugging tools and by DiagnosticsNode.toStringDeep.
inherited
toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) String
A string representation of this object.
inherited
toStringDeep({String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug}) String
Returns a string representation of this node and its descendants.
inherited
toStringShallow({String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) String
Returns a one-line detailed description of the object.
inherited
toStringShort() String
A short, textual description of this widget.
inherited

Operators

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