TitleSlide constructor

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

Creates a title slide using the title and subtitle widgets with an optional background widget background.

See also:

Implementation

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