JourneyContent constructor

const JourneyContent({
  1. Key? key,
  2. required Widget content,
  3. required int currentStep,
  4. required int totalSteps,
  5. required bool isFirstStep,
  6. required bool isLastStep,
  7. Widget? nextButton,
  8. Widget? backButton,
  9. bool showProgress = true,
  10. EdgeInsets? progressIndicatorPadding,
  11. JourneyProgressStyle progressStyle = const JourneyProgressStyle.linear(),
  12. ProgressIndicatorPosition progressIndicatorPosition = ProgressIndicatorPosition.top,
  13. EdgeInsetsGeometry contentPadding = const EdgeInsets.all(16.0),
  14. Widget? header,
  15. Widget? footer,
  16. CrossAxisAlignment crossAxisAlignment = CrossAxisAlignment.center,
})

Implementation

const JourneyContent({
  super.key,
  required this.content,
  required this.currentStep,
  required this.totalSteps,
  required this.isFirstStep,
  required this.isLastStep,
  this.nextButton,
  this.backButton,
  this.showProgress = true,
  this.progressIndicatorPadding,
  this.progressStyle = const JourneyProgressStyle.linear(),
  this.progressIndicatorPosition = ProgressIndicatorPosition.top,
  this.contentPadding = const EdgeInsets.all(16.0),
  this.header,
  this.footer,
  this.crossAxisAlignment = CrossAxisAlignment.center,
});