ExpandableTable class
ExpandableTable class.
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatefulWidget
- ExpandableTable
Constructors
-
ExpandableTable({Key? key, ExpandableTableCell? firstHeaderCell, List<
ExpandableTableHeader> ? headers, List<ExpandableTableRow> ? rows, ExpandableTableController? controller, double headerHeight = 188, double firstColumnWidth = 200, double defaultsColumnWidth = 120, double defaultsRowHeight = 50, Duration duration = const Duration(milliseconds: 500), Curve curve = Curves.fastOutSlowIn, Duration scrollShadowDuration = const Duration(milliseconds: 500), Curve scrollShadowCurve = Curves.fastOutSlowIn, Color scrollShadowColor = Colors.transparent, double scrollShadowSize = 10, bool visibleScrollbar = false}) -
ExpandableTable class constructor.
Required:
const
Properties
- controller → ExpandableTableController?
-
controller specifies the external controller of the table, allows
you to dynamically manage the data in the table externally.
Do not use if firstHeaderCell, headers and rows are passed
'optional'
final
- curve → Curve
-
curve determines rendered curve animation of Rows/Columns expansion.
final
- defaultsColumnWidth → double
-
defaultsColumnWidth defines the default width of all columns,
it is possible to redefine it for each individual column.
Default:
120
final - defaultsRowHeight → double
-
defaultsRowHeight defines the default height of all rows,
it is possible to redefine it for every single row.
Default:
50
final - duration → Duration
-
duration determines duration rendered animation of Rows/Columns expansion.
final
- firstColumnWidth → double
-
firstColumnWidth determines first Column width size.
final
- firstHeaderCell → ExpandableTableCell?
-
firstHeaderCell is the top left cell, i.e. the first header cell.
Not to be used if the controller is used.
optional
final - hashCode → int
-
The hash code for this object.
no setterinherited
- headerHeight → double
-
headerHeight is the height of each column header, i.e. the first row.
Default: 188
final -
headers
→ List<
ExpandableTableHeader> ? -
headers contains the list of all column headers,
each one of these can contain a list of further headers,
this allows you to create nested and expandable columns.
Not to be used if the controller is used.
optional
final - key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
-
rows
→ List<
ExpandableTableRow> ? -
rows contains the list of all the rows of the table,
each of these can contain a list of further rows,
this allows you to create nested and expandable rows.
Not to be used if the controller is used.
optional
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
- scrollShadowSize → double
-
scrollShadowSize determines size 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(
) → State< ExpandableTable> -
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