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