BarSection constructor

const BarSection({
  1. Key? key,
  2. BarBackButtonMode backButton = BarBackButtonMode.never,
  3. Widget? title,
  4. required Widget sliver,
  5. Widget? subtitle,
  6. Widget? header,
  7. String? titleText,
  8. String? subtitleText,
  9. String? headerText,
  10. List<Widget> leading = const [],
  11. 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.trailing = const []});