XExpansionTile class
The widgets that are displayed when the tile expands.
Typically ListTile widgets.
Constructors
-
XExpansionTile(Widget leading, Widget title, Widget subtitle, ValueChanged<
bool> onExpansionChanged, Color backgroundColor, Widget trailing, bool initiallyExpanded, Key key)
Properties
- backgroundColor → Color
-
The color to display behind the sublist when expanded.
final
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- initiallyExpanded → bool
-
Specifies if the list tile is initially expanded (true) or collapsed (false; the default).
final
- key → Key
-
final
- leading → Widget
-
A widget to display before the title. [...]
final
-
onExpansionChanged
→ ValueChanged<
bool> -
Called when the tile expands or collapses. [...]
final
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
- subtitle → Widget
-
Additional content displayed below the title. [...]
final
- title → Widget
-
The primary content of the list item. [...]
final
- trailing → Widget
-
A widget to display instead of a rotating arrow icon.
final
Methods
-
list(
List< Widget> list) → Widget -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toString(
) → String -
A string representation of this object. [...]
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
inherited