SimpleOnboardingView constructor

const SimpleOnboardingView({
  1. Key? key,
  2. required bool isSimple,
  3. required String buttonSkipTitle,
  4. required String buttonNextTitle,
  5. required String buttonDoneTitle,
})

Creates a simple onboarding view.

  • isSimple: If true, uses dot-based navigation; otherwise, uses a circular progress button.
  • title: Text style for the page titles.
  • subTitle: Text style for the page subtitles.
  • buttonSkipTitle: Text for the skip button.
  • buttonSkipStyle: Style for the skip button.
  • buttonNextTitle: Text for the next button.
  • buttonNextStyle: Style for the next button.
  • buttonDoneTitle: Text for the done button.
  • buttonDoneStyle: Style for the done button.

Implementation

const SimpleOnboardingView({
  super.key,
  required this.isSimple,
  required this.buttonSkipTitle,
  required this.buttonNextTitle,
  required this.buttonDoneTitle,
});