ResponsiveDataGrid<TItem extends Object> class

Inheritance

Constructors

ResponsiveDataGrid.clientSide({GlobalKey<ResponsiveDataGridState<TItem>>? key, required List<TItem> items, required List<GridColumn<TItem, dynamic>> columns, void itemTapped(TItem)?, double? separatorThickness, int pageSize = 50, double? height, SortableOptions sortable = SortableOptions.single, Widget? noResults, CrossAxisAlignment rowCrossAxisAlignment = CrossAxisAlignment.center, CrossAxisAlignment headerCrossAxisAlignment = CrossAxisAlignment.center, int reactiveSegments = 12, TitleDefinition? title, EdgeInsets padding = const EdgeInsets.all(5), EdgeInsets contentPadding = const EdgeInsets.only(left: 10, top: 3, right: 10, bottom: 3), double elevation = 0, PagingMode pagingMode = PagingMode.auto, int maximumRows = 99999})
ResponsiveDataGrid.serverSide({GlobalKey<ResponsiveDataGridState<TItem>>? key, required Future<LoadResult<TItem>?> loadData(LoadCriteria criteria), required List<GridColumn<TItem, dynamic>> columns, void itemTapped(TItem)?, double? separatorThickness, int pageSize = 50, double? height, SortableOptions sortable = SortableOptions.single, Widget? noResults, CrossAxisAlignment rowCrossAxisAlignment = CrossAxisAlignment.center, CrossAxisAlignment headerCrossAxisAlignment = CrossAxisAlignment.center, int reactiveSegments = 12, TitleDefinition? title, EdgeInsets padding = const EdgeInsets.all(5), EdgeInsets contentPadding = const EdgeInsets.all(3), double elevation = 0, PagingMode pagingMode = PagingMode.auto, int maximumRows = 99999})

Properties

columns List<GridColumn<TItem, dynamic>>
final
contentPadding EdgeInsets
final
elevation double
final
hashCode int
The hash code for this object.
no setterinherited
headerCrossAxisAlignment CrossAxisAlignment
final
height double?
final
items List<TItem>?
final
itemTapped → (void Function(TItem)?)
final
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
loadData → (Future<LoadResult<TItem>?> Function(LoadCriteria criteria)?)
final
maximumRows int
final
noResults Widget?
final
padding EdgeInsets
final
pageSize int
final
pagingMode PagingMode
final
reactiveSegments int
final
rowCrossAxisAlignment CrossAxisAlignment
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
separatorThickness double?
final
sortable → SortableOptions
final
title TitleDefinition?
final

Methods

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.
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