Section constructor
const
Section({
- Key? key,
- Widget? customHeader,
- bool initiallyExpanded = true,
- bool expandable = false,
- required Widget child,
- BarBackButtonMode backButton = BarBackButtonMode.never,
- Widget? title,
- Widget? subtitle,
- Widget? header,
- String? titleText,
- String? subtitleText,
- String? headerText,
- List<
Widget> leading = const [], - List<
Widget> trailing = const [],
Implementation
const Section(
{super.key,
this.customHeader,
this.initiallyExpanded = true,
this.expandable = false,
required this.child,
this.backButton = BarBackButtonMode.never,
this.title,
this.subtitle,
this.header,
this.titleText,
this.subtitleText,
this.headerText,
this.leading = const [],
this.trailing = const []});