onboarding_plus 0.1.0 onboarding_plus: ^0.1.0 copied to clipboard
A new Flutter package for onboarding.
This package provide easily create onboarding page.
Features #
You can edit colors and text styles.
Image1 | Image2 | GIF |
---|---|---|
Getting started #
Add in your pubspec.yaml file lastest version of onboarding_plus
Usage #
Call this widget in body OnboardingViewer()
@override
Widget build(BuildContext context) {
return OnboardingViewer(
pageList: onboardingList,
pageWidth: MediaQuery.of(context).size.width,
pageHeight: MediaQuery.of(context).size.height,
backgroundColor: Colors.black,
skipButtonColor: Colors.purple,
skipButtonTextStyle: const TextStyle(color: Colors.white),
nextButtonTextStyle: const TextStyle(color: Colors.white),
doneButtonTextStyle: const TextStyle(color: Colors.white),
deactiveDotColor: Colors.black,
activatedDotColor: Colors.purple,
nextButtonColor: Colors.purple,
onPressedSkip: onPressedSkip,
onPressedDone: onPressedDone,
dotSize: Size(12, 12),
bottomPadding: 110,
topPadding: 0,
borderColor: Colors.purple,
borderWidth: 1,
);
}
Additional information #
For more information you can follow developer on pub.dev