ExpansionDataGrid class abstract

Inheritance

Constructors

ExpansionDataGrid({Key? key, bool? isAlwaysShown, Duration? expansionAnimationDuration, int? insertIndex, int? crossAxisWidth, ScrollController? controller})

Properties

crossAxisWidth int
final
data List
no setter
expansionAnimationDuration Duration
final
hashCode int
The hash code for this object.
no setterinherited
headers List<Header>
no setter
isAlwaysShown bool
final
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scrollController ScrollController?
final

Methods

createControlButtons(BuildContext context, RowItem rowItem, ExpandAction? onEdit, ExpandAction? onDelete) List<Widget>
createElement() StatefulElement
Creates a StatefulElement to manage this widget's location in the tree.
inherited
createExpandColumn(BuildContext context, int index, List<FieldInfo> fields, List data, RowItem rowItem) Column
createExpandPanel(BuildContext context, List<FieldInfo> fields, List data, RowItem rowItem, {ExpandAction? onEdit, ExpandAction? onDelete}) Widget
createRow(BuildContext context, dynamic val, RowItem rowItem, Header header) Widget
createState() State<ExpansionDataGrid>
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
deleteRowItem(RowItem rowItem) → void
editRowItem(RowItem rowItem, dynamic data) → void
expandRow(BuildContext context, RowItem rowItem) Widget
getEditComponent(BuildContext context, dynamic data, RowItem rowItem, String? format) Widget
getLastHeader(BuildContext context) Widget
getRowAlignment(Header header) Alignment
getRowComponent(BuildContext context, dynamic val, RowItem rowItem, Header header) Widget
getRowValue(dynamic val, RowItem rowItem, String? format) String
insertRow(RowItem rowItem, [int index = 0]) → void
lazyLoad(void callback(List)) Future<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setData(List data) ExpansionDataGrid
setHeaders(List<Header> headers) ExpansionDataGrid
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
update() ExpansionDataGrid

Operators

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

Static Methods

getBorderSide(ThemeData theme) BorderSide
getHeadingRowColor(ThemeData theme) Color

Constants

rowPadding → const EdgeInsetsDirectional