ExpandableTableHeader class
ExpandableTableHeader class. This class defines a single table header.
- Inheritance
-
- Object
- ChangeNotifier
- ExpandableTableHeader
Constructors
-
ExpandableTableHeader({required ExpandableTableCell cell, List<
ExpandableTableHeader> ? children, double? width, bool hideWhenExpanded = false, bool childrenExpanded = false, bool disableDefaultOnTapExpansion = false}) - ExpandableTableHeader class constructor. This class defines a single table header.
Properties
-
address
→ List<
int> -
address returns a list of integers, each of which the position
referred to the parent column, each nesting adds an element to the
list, this element will be the address of the column with respect to the parent.
no setter
- cell → ExpandableTableCell
-
cell Defines the contents of the column header cell.
required
final -
children
↔ List<
ExpandableTableHeader> ? -
children returns nested columns to this one.
getter/setter pair
- childrenExpanded ↔ bool
-
childrenExpanded returns true if the children nested to this column have been expanded.
getter/setter pair
- columnsCount → int
-
columnsCount returns the number of columns, this one and
all those nested within it.
no setter
- disableDefaultOnTapExpansion → bool
-
disableDefaultOnTapExpansion Defines whether to disable the
standard expand interaction, setting to true will require
manually implementing an expand logic.
Default: false
final - hashCode → int
-
The hash code for this object.
no setterinherited
- hasListeners → bool
-
Whether any listeners are currently registered.
no setterinherited
- hideWhenExpanded → bool
-
hideWhenExpanded Defines whether this column should be
hidden when nested columns are expanded. Attention, by setting
this property to true it will be necessary to implement manual
management of column expansion.
Default: false
final - index ↔ int?
-
index indicates the current index of this column, referring to the parent.
getter/setter pair
- parent → ExpandableTableHeader?
-
parent if this column is nested within another,
the instance of the parent column is returned
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- visible → bool
-
visible returns true if this column is currently visible.
no setter
- visibleColumnsCount → int
-
visibleColumnsCount returns the number of columns currently visible,
this one and all those nested within it.
no setter
- width → double?
-
width defines the width of the column, if not specified
the default width defined in the table will be used.
optional
final
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
-
toggleExpand(
) → void - toggleExpand this method allows you to reverse the expansion or not of the child columns.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited