BlocDataTable class

A DataTable Widget using a ListBloc to handle page loads.

Inheritance

Constructors

BlocDataTable(WidgetNodeSpec spec, Map state, Map? evaluatorContext, {Key? key})

Properties

actions → Map
no setterinherited
bloc → ListBloc
no setterinherited
controller → ScrollController
finalinherited
evaluatorContext → Map?
finalinherited
hashCode → int
The hash code for this object.
no setterinherited
id → String
no setterinherited
key → Key?
Controls how one widget replaces another widget in the tree.
finalinherited
loadPageSpec → Map?
no setterinherited
log → Logger
finalinherited
mutable → ListMutable
no setterinherited
props → Map
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sortState → Map
final
spec → WidgetNodeSpec
finalinherited
state → Map
finalinherited
widgets → Map
no setterinherited

Methods

buildDataCells(BuildContext context, int idx) → List<DataCell>
buildDataColumn(BuildContext context, Map spec, bool sortable, StateSetter setState, Widget? labelWidget) → DataColumn
buildDataColumns(BuildContext context, StateSetter setState) → List<DataColumn>
buildDataRow(BuildContext context, int idx, List<Map> selectionList, bool multiSelect, Function? selectFunction, StateSetter setState) → DataRow
buildDataTable(BuildContext context, StateSetter setState) → DataTable
buildList(BuildContext context) → Widget
override
buildWidget(BuildContext context, Map widgetSpec, int i) → Widget
inherited
createBloc() → ListBloc
inherited
createElement() → StatefulElement
Creates a StatefulElement to manage this widget's location in the tree.
inherited
createState() → State<StatefulWidget>
Creates the mutable state for this widget at a given location in the tree.
inherited
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
dispose() → void
inherited
getLoadingIndicator() → Widget
inherited
getNoEntriesWidget(BuildContext context) → Widget
inherited
loadPage({int? page}) → void
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
scrollListener() → void
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, int wrapWidth = 65}) → 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