JourneyContent constructor
const
JourneyContent({
- Key? key,
- required Widget content,
- required int currentStep,
- required int totalSteps,
- required bool isFirstStep,
- required bool isLastStep,
- Widget? nextButton,
- Widget? backButton,
- bool showProgress = true,
- EdgeInsets? progressIndicatorPadding,
- JourneyProgressStyle progressStyle = const JourneyProgressStyle.linear(),
- ProgressIndicatorPosition progressIndicatorPosition = ProgressIndicatorPosition.top,
- EdgeInsetsGeometry contentPadding = const EdgeInsets.all(16.0),
- Widget? header,
- 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,
});