ExpandableTableController class
ExpandableTableController class.
- Inheritance
-
- Object
- ChangeNotifier
- ExpandableTableController
Constructors
-
ExpandableTableController({required ExpandableTableCell firstHeaderCell, required List<
ExpandableTableHeader> headers, required List<ExpandableTableRow> rows, Duration duration = const Duration(milliseconds: 500), Curve curve = Curves.fastOutSlowIn, Duration scrollShadowDuration = const Duration(milliseconds: 500), Curve scrollShadowFadeInCurve = Curves.easeIn, Curve scrollShadowFadeOutCurve = Curves.easeOut, Color scrollShadowColor = Colors.transparent, double scrollShadowSize = 10, double headerHeight = 188, double firstColumnWidth = 200, double defaultsColumnWidth = 120, double defaultsRowHeight = 50}) - ExpandableTableController class constructor.
Properties
-
allHeaders
→ List<
ExpandableTableHeader> -
allHeaders returns all table headers, visible and not, including nested ones.
no setter
-
allRows
→ List<
ExpandableTableRow> -
allRows returns all table rows, visible and not, including nested ones.
no setter
- 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
getter/setter pair - defaultsRowHeight ↔ double
-
defaultsRowHeight defines the default height of all rows,
it is possible to redefine it for every single row.
Default:
50
getter/setter pair - duration → Duration
-
duration determines duration rendered animation of Rows/Columns expansion.
final
- firstColumnWidth ↔ double
-
firstColumnWidth determines first Column width size.
getter/setter pair
- firstHeaderCell ↔ ExpandableTableCell
-
firstHeaderCell is the top left cell, i.e. the first header cell.
required
getter/setter pair - hashCode → int
-
The hash code for this object.
no setterinherited
- hasListeners → bool
-
Whether any listeners are currently registered.
no setterinherited
- headerHeight ↔ double
-
headerHeight is the height of each column header, i.e. the first row.
Default: 188
getter/setter pair -
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.required
getter/setter pair -
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.required
getter/setter pair - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scrollShadowColor → Color
-
scrollShadowColor determines rendered color of shadows.
final
- scrollShadowDuration → Duration
-
scrollShadowDuration determines duration rendered animation of shadows.
final
- scrollShadowFadeInCurve → Curve
-
scrollShadowFadeInCurve determines rendered curve animation of shadows appearance.
final
- scrollShadowFadeOutCurve → Curve
-
scrollShadowFadeOutCurve determines rendered curve animation of shadows disappearance.
final
- scrollShadowSize → double
-
scrollShadowSize determines size of shadows.
final
-
visibleHeaders
→ List<
ExpandableTableHeader> -
visibleHeaders returns all visible table headers, including nested ones.
no setter
- visibleHeadersWidth → double
-
visibleHeadersWidth returns the overall width of all visible table headers, including nested ones
no setter
-
visibleRows
→ List<
ExpandableTableRow> -
visibleRows returns all visible table rows, including nested ones.
no setter
- visibleRowsHeight → double
-
visibleHeadersWidth returns the overall width of all visible table rows, including nested ones
no setter
- visibleScrollbar ↔ bool
-
visibleScrollbar determines visibility of scrollbar.
getter/setter pair
Methods
-
addListener(
VoidCallback listener) → void -
Register a closure to be called when the object changes.
inherited
-
dispose(
) → void -
Discards any resources used by the object. After this is called, the
object is not in a usable state and should be discarded (calls to
addListener will throw after the object is disposed).
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
notifyListeners(
) → void -
Call all the registered listeners.
inherited
-
removeListener(
VoidCallback listener) → void -
Remove a previously registered closure from the list of closures that are
notified when the object changes.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited