ZeroExpansionTile class

The item of ZeroAccordion widget which built on top of ExpansionTile. All the style parameters of ExpansionTile are provided inside ZeroExpansionTile's style parameter

Inheritance

Constructors

ZeroExpansionTile.new({Key? key, required Widget title, required List<Widget> children, Widget? subtitle, bool initiallyExpanded = false, bool maintainState = false, ListTileControlAffinity? controlAffinity, Alignment? expandedAlignment, CrossAxisAlignment? expandedCrossAxisAlignment, dynamic onExpansionChanged(bool)?, bool leadingRotateOnExpand = true, bool trailingRotateOnExpand = true, AccordionVariant variant = AccordionVariant.underline, ZeroExpansionTileStyle? style})
const

Properties

children List<Widget>
The widget children of the ZeroExpansionTile.
final
controlAffinity ListTileControlAffinity?
final
expandedAlignment Alignment?
final
expandedCrossAxisAlignment CrossAxisAlignment?
final
hashCode int
The hash code for this object.
no setterinherited
initiallyExpanded bool
final
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
leadingRotateOnExpand bool
Whether or not the leading should rotate on expansion. It defaults to false Overrides the ZeroAccordion.leadingRotateOnExpand's value
final
maintainState bool
final
onExpansionChanged → dynamic Function(bool)?
Function called every time the expansion changed. bool values true if expanded
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
style ZeroExpansionTileStyle?
Provide all the style parameters of ZeroExpansionTile. It defaults to the value set on ZeroThemeData's ExpansionTileStyle
final
subtitle Widget?
final
title Widget
final
trailingRotateOnExpand bool
Whether or not the trailing should rotate on expansion. It defaults to true Overrides the ZeroAccordion.trailingRotateOnExpand's value
final
variant AccordionVariant
Can be AccordionVariant.filled of AccordionVariant.underline
final

Methods

createElement() StatefulElement
Creates a StatefulElement to manage this widget's location in the tree.
inherited
createState() State<ZeroExpansionTile>
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, int wrapWidth = 65}) 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