CustomExpansionTileWidget constructor

const CustomExpansionTileWidget({
  1. Key? key,
  2. Widget? headerLeading,
  3. Color? headerTileColor,
  4. required String headerTitle,
  5. Decoration? headerDecoration,
  6. EdgeInsets? headerPadding,
  7. double? headerHeight,
  8. TextStyle? headerTextStyle,
  9. Widget? headerTrailing,
  10. bool isHeaderTrailingAnimation = true,
  11. Duration? animationDuration,
  12. ValueChanged<bool>? onExpansionChanged,
  13. List<Widget> children = const <Widget>[],
  14. bool initiallyExpanded = false,
  15. 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);