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