Onboarding constructor
const
Onboarding({
- Key? key,
- BuiltHeader? buildHeader,
- required List<
Widget> swipeableBody, - OnPageChanges? onPageChanges,
- int startIndex = 0,
- int animationInMilliseconds = 300,
Implementation
const Onboarding({
Key? key,
this.buildHeader,
required this.swipeableBody,
this.buildFooter,
this.onPageChanges,
this.startIndex = 0,
this.animationInMilliseconds = 300,
}) : assert(startIndex < swipeableBody.length),
assert(startIndex >= 0),
super(key: key);