NextButton constructor

const NextButton(
  1. OnboardingPage currentPage, {
  2. required Color? backgroundColor,
  3. required Key nextKey,
})

Implementation

const NextButton(
  this.currentPage, {
  required this.backgroundColor,
  required this.nextKey,
});