SectionHeader constructor

const SectionHeader({
  1. required Widget title,
  2. Widget? background,
  3. Key? key,
})

Creates a Section Header slide using the title widget with an optional background widget.

Implementation

const SectionHeader({
  required Widget this.title,
  Widget? background,
  super.key,
})  : _background = background,
      _titleText = null;