RPUITask constructor

const RPUITask({
  1. Key? key,
  2. required RPOrderedTask task,
  3. Image? carouselBarImage,
  4. double? carouselBarHorizontalPadding,
  5. double? carouselBarVerticalPadding,
  6. Color? carouselBarBackgroundColor,
  7. RPCarouselBarBuilder? carouselBarBuilder,
  8. RPBottomNavigationBuilder? bottomNavigationBuilder,
  9. String? nextButtonText,
  10. ButtonStyle? nextButtonStyle,
  11. void onSubmit(
    1. RPTaskResult
    )?,
  12. void onCancel(
    1. RPTaskResult? result
    )?,
})

Implementation

const RPUITask({
  super.key,
  required this.task,
  this.carouselBarImage,
  this.carouselBarHorizontalPadding,
  this.carouselBarVerticalPadding,
  this.carouselBarBackgroundColor,
  this.carouselBarBuilder,
  this.bottomNavigationBuilder,
  this.nextButtonText,
  this.nextButtonStyle,
  this.onSubmit,
  this.onCancel,
});