AdminOnboardingScaffold constructor

const AdminOnboardingScaffold({
  1. Key? key,
  2. required int step,
  3. required int totalSteps,
  4. required String title,
  5. required String subtitle,
  6. required Widget body,
  7. required String primaryLabel,
  8. required VoidCallback onPrimary,
  9. bool showSkip = true,
  10. String skipLabel = 'Skip for now',
  11. VoidCallback? onSkip,
  12. bool primaryEnabled = true,
})

Implementation

const AdminOnboardingScaffold({
  super.key,
  required this.step,
  required this.totalSteps,
  required this.title,
  required this.subtitle,
  required this.body,
  required this.primaryLabel,
  required this.onPrimary,
  this.showSkip = true,
  this.skipLabel = 'Skip for now',
  this.onSkip,
  this.primaryEnabled = true,
});