Blank Slide
To create a title slide, use the FlutterDeckSlide.blank
constructor. It is responsible for rendering the default header and footer of the slide deck, and rendering the content of the slide using the provided builder
.
class BlankSlide extends FlutterDeckSlideWidget {
const BlankSlide()
: super(
configuration: const FlutterDeckSlideConfiguration(
route: '/blank-slide',
header: FlutterDeckHeaderConfiguration(
title: 'Blank slide template',
),
),
);
@override
Widget build(BuildContext context) {
return FlutterDeckSlide.blank(
builder: (context) => const Text('Here goes the content of the slide'),
);
}
}