CustomExpansionTileWidget constructor
const
CustomExpansionTileWidget({
- Key? key,
- Widget? headerLeading,
- Color? headerTileColor,
- required String headerTitle,
- Decoration? headerDecoration,
- EdgeInsets? headerPadding,
- double? headerHeight,
- TextStyle? headerTextStyle,
- Widget? headerTrailing,
- bool isHeaderTrailingAnimation = true,
- Duration? animationDuration,
- ValueChanged<
bool> ? onExpansionChanged, - List<
Widget> children = const <Widget>[], - bool initiallyExpanded = false,
- EdgeInsets? paddingBetweenHeaderAndChildren,
Implementation
const CustomExpansionTileWidget(
{Key? key,
this.headerLeading,
this.headerTileColor,
required this.headerTitle,
this.headerDecoration,
this.headerPadding,
this.headerHeight,
this.headerTextStyle,
this.headerTrailing,
this.isHeaderTrailingAnimation = true,
this.animationDuration,
this.onExpansionChanged,
this.children = const <Widget>[],
this.initiallyExpanded = false,
this.paddingBetweenHeaderAndChildren})
: super(key: key);