StepsComponent constructor

const StepsComponent({
  1. Color? accentColor,
  2. IndicatorScreenType? typeIndicator,
  3. Color? iconColor,
  4. Color? buttonColor,
  5. Color? backgroundColor,
  6. required List<StepPageData> stepsPages,
  7. required Function onBackPage,
  8. required Function onFinish,
  9. required Function onSkip,
  10. int initialPage = 0,
  11. Key? key,
})

Implementation

const StepsComponent(
    {this.accentColor,
    this.typeIndicator,
    this.iconColor,
    this.buttonColor,
    this.backgroundColor,
    required this.stepsPages,
    required this.onBackPage,
    required this.onFinish,
    required this.onSkip,
    this.initialPage = 0, // Adicionando parâmetro para página inicial
    Key? key})
    : super(key: key);