ExpandableTable class
ExpandableTable class.
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatefulWidget
- ExpandableTable
Constructors
-
ExpandableTable({Key? key, required ExpandableTableHeader header, required List<
ExpandableTableRow> rows, double cellWidth = 120, double cellHeight = 50, double headerHeight = 188, double firstColumnWidth = 200, Duration duration = const Duration(milliseconds: 500), Curve curve = Curves.fastOutSlowIn, Duration scrollShadowDuration = const Duration(milliseconds: 500), Curve scrollShadowCurve = Curves.fastOutSlowIn, Color scrollShadowColor = Colors.transparent, bool visibleScrollbar = false}) - ExpandableTable constructor. Required:
Properties
- cellHeight → double
-
cellHeight determines default cell height size, this is overwritable with row property.
final
- cellWidth → double
-
cellWidth determines default cell width size, this is overwritable with cell property.
final
- curve → Curve
-
curve determines rendered curve animation of Rows/Columns expansion.
final
- duration → Duration
-
duration determines duration rendered animation of Rows/Columns expansion.
final
- firstColumnWidth → double
-
firstColumnWidth determines first Column width size.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- header → ExpandableTableHeader
-
header Contain a table header widget.
required
final - headerHeight → double
-
headerHeight determines Header Row height size.
final
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
-
rows
→ List<
ExpandableTableRow> -
rows Contain a table body rows widget.
required
final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scrollShadowColor → Color
-
scrollShadowColor determines rendered color of shadows.
final
- scrollShadowCurve → Curve
-
scrollShadowCurve determines rendered curve animation of shadows.
final
- scrollShadowDuration → Duration
-
scrollShadowDuration determines duration rendered animation of shadows.
final
- visibleScrollbar → bool
-
visibleScrollbar determines visibility of scrollbar.
final
Methods
-
createElement(
) → StatefulElement -
Creates a StatefulElement to manage this widget's location in the tree.
inherited
-
createState(
) → ExpandableTableState -
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