ExpansionTileItem class
Constructors
ExpansionTileItem.new ({Key ? key , required Widget title , required List <Widget > ? children , GlobalKey <ExpansionTileCoreState > ? expansionKey , ValueChanged <bool > ? onExpansionChanged , EdgeInsetsGeometry ? tilePadding , bool initiallyExpanded = false , Color ? backgroundColor , Color ? textColor , Widget ? subtitle , bool maintainState = false , Color ? iconColor , CrossAxisAlignment ? expandedCrossAxisAlignment , Alignment ? expandedAlignment , ListTileControlAffinity ? controlAffinity , Color ? collapsedTextColor , Color ? collapsedIconColor , Color ? collapsedBackgroundColor , EdgeInsetsGeometry ? childrenPadding , Widget ? trailing , Widget ? leading , ThemeData ? themeData , Decoration ? decoration , BorderRadius ? borderRadius , BoxBorder ? border , Clip ? clipBehavior , List <BoxShadow > ? boxShadow , Color ? expendedBorderColor , Color ? collapsedBorderColor , bool ? isHasTopBorder , bool ? isHasLeftBorder , bool ? isHasBottomBorder , bool ? isHasRightBorder , bool ? isHasTrailing , bool ? isEnableExpanded , bool ? isDefaultVerticalPadding , bool ? isHideSubtitleOnExpanded , Widget ? trailingIcon , bool ? isOnlyTrailingDoToggle , ExpansionGroupController ? controller , int ? index })
const
ExpansionTileItem.card ({Key ? key , required Widget title , required List <Widget > children , ValueChanged <bool > ? onExpansionChanged , GlobalKey <ExpansionTileCoreState > ? expansionKey , bool ? initiallyExpanded , EdgeInsetsGeometry ? tilePadding , Alignment ? expandedAlignment , Color ? collapsedIconColor , CrossAxisAlignment ? expandedCrossAxisAlignment , Color ? iconColor , Color ? textColor , Widget ? subtitle , bool ? maintainState , ListTileControlAffinity ? controlAffinity , Color ? collapsedTextColor , Color ? collapsedBackgroundColor , EdgeInsetsGeometry ? childrenPadding , Widget ? trailing , Widget ? leading , Color ? backgroundColor , Decoration ? decoration , Clip ? clipBehavior , ThemeData ? themeData , List <BoxShadow > ? boxShadow , Color ? expendedBorderColor , Color ? collapsedBorderColor , bool ? isHasTopBorder , bool ? isHasBottomBorder , bool ? isHasLeftBorder , bool ? isHasRightBorder , bool ? isHasTrailing , bool ? isEnableExpanded , bool ? isDefaultVerticalPadding , bool ? isHideSubtitleOnExpanded , bool ? isOnlyTrailingDoToggle , Widget ? trailingIcon , double ? elevation , ExpansionGroupController ? controller , int ? index })
factory
ExpansionTileItem.flat ({Key ? key , required Widget title , required List <Widget > ? children , GlobalKey <ExpansionTileCoreState > ? expansionKey , ValueChanged <bool > ? onExpansionChanged , EdgeInsetsGeometry ? tilePadding , bool initiallyExpanded = false , Color ? backgroundColor , Color ? textColor , Widget ? subtitle , bool maintainState = false , Color ? iconColor , CrossAxisAlignment ? expandedCrossAxisAlignment , ListTileControlAffinity ? controlAffinity , Color ? collapsedTextColor , Color ? collapsedIconColor , Color ? collapsedBackgroundColor , Widget ? trailing , Widget ? leading , ThemeData ? themeData , Decoration ? decoration , Clip ? clipBehavior , List <BoxShadow > ? boxShadow , Widget ? trailingIcon , BorderRadius ? borderRadius , Color ? collapsedBorderColor , Color ? expendedBorderColor , bool ? isHasTrailing , bool ? isEnableExpanded , bool ? isDefaultVerticalPadding , bool ? isHideSubtitleOnExpanded , bool ? isOnlyTrailingDoToggle , EdgeInsetsGeometry ? childrenPadding , Alignment ? expandedAlignment , ExpansionGroupController ? controller , int ? index })
const
ExpansionTileItem.leaf ({Key ? key , required Widget title , required List <Widget > ? children , GlobalKey <ExpansionTileCoreState > ? expansionKey , ValueChanged <bool > ? onExpansionChanged , EdgeInsetsGeometry ? tilePadding , bool initiallyExpanded = false , Color ? backgroundColor , Color ? textColor , Widget ? subtitle , bool maintainState = false , Color ? iconColor , CrossAxisAlignment ? expandedCrossAxisAlignment , ListTileControlAffinity ? controlAffinity , Color ? collapsedTextColor , Color ? collapsedIconColor , Color ? collapsedBackgroundColor , Widget ? trailing , Widget ? leading , ThemeData ? themeData , Decoration ? decoration , Clip ? clipBehavior , List <BoxShadow > ? boxShadow , bool ? isDefaultVerticalPadding , Widget ? trailingIcon , BoxBorder ? border , bool ? isHideSubtitleOnExpanded , EdgeInsetsGeometry ? childrenPadding , Alignment ? expandedAlignment , bool ? isHasTrailing , bool ? isEnableExpanded , bool ? isOnlyTrailingDoToggle , ExpansionGroupController ? controller , int ? index , Color ? collapsedBorderColor , Color ? expendedBorderColor , double ? leafRadius , bool isReverseLeaf = false , bool isOutlined = false })
ExpansionTileItem.outlined ({Key ? key , required Widget title , required List <Widget > ? children , GlobalKey <ExpansionTileCoreState > ? expansionKey , ValueChanged <bool > ? onExpansionChanged , EdgeInsetsGeometry ? tilePadding , bool initiallyExpanded = false , Color ? backgroundColor , Color ? textColor , Widget ? subtitle , bool maintainState = false , Color ? iconColor , CrossAxisAlignment ? expandedCrossAxisAlignment , ListTileControlAffinity ? controlAffinity , Color ? collapsedTextColor , Color ? collapsedIconColor , Color ? collapsedBackgroundColor , Widget ? trailing , Widget ? leading , ThemeData ? themeData , Decoration ? decoration , Clip ? clipBehavior , List <BoxShadow > ? boxShadow , bool ? isDefaultVerticalPadding , Widget ? trailingIcon , BoxBorder ? border , bool ? isHideSubtitleOnExpanded , EdgeInsetsGeometry ? childrenPadding , Alignment ? expandedAlignment , bool ? isHasTrailing , bool ? isEnableExpanded , bool ? isOnlyTrailingDoToggle , BorderRadius ? borderRadius = const BorderRadius.all(Radius.circular(8)) , Color ? collapsedBorderColor = Colors.grey , Color ? expendedBorderColor = Colors.blue , ExpansionGroupController ? controller , int ? index })
const
Methods
build (BuildContext context )
→ Widget
Describes the part of the user interface represented by this widget.
override
copyWith ({Key ? key , Widget ? title , List <Widget > ? children , ValueChanged <bool > ? onExpansionChanged , GlobalKey <ExpansionTileCoreState > ? expansionKey , bool ? initiallyExpanded , EdgeInsetsGeometry ? tilePadding , Alignment ? expandedAlignment , Color ? collapsedIconColor , CrossAxisAlignment ? expandedCrossAxisAlignment , Color ? iconColor , Color ? textColor , Widget ? subtitle , bool ? maintainState , ListTileControlAffinity ? controlAffinity , Color ? collapsedTextColor , Color ? collapsedBackgroundColor , EdgeInsetsGeometry ? childrenPadding , Widget ? trailing , Widget ? leading , Color ? backgroundColor , Decoration ? decoration , BorderRadius ? borderRadius , BoxBorder ? border , Clip ? clipBehavior , ThemeData ? themeData , List <BoxShadow > ? boxShadow , Color ? expendedBorderColor , Color ? collapsedBorderColor , bool ? isHasTopBorder , bool ? isHasBottomBorder , bool ? isHasLeftBorder , bool ? isHasRightBorder , bool ? isHasTrailing , bool ? isEnableExpanded , bool ? isDefaultVerticalPadding , bool ? isHideSubtitleOnExpanded , Widget ? trailingIcon })
→ ExpansionTileItem
createElement ()
→ StatelessElement
Creates a StatelessElement to manage this widget's location in the tree.
inherited
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
expansion_tile_group 2.3.0