FlutterFormOptions constructor

const FlutterFormOptions({
  1. required List<FlutterFormPage> pages,
  2. required void onFinished(
    1. Map<int, Map<String, dynamic>>
    ),
  3. required void onNext(
    1. int pageNumber,
    2. Map<String, dynamic>
    ),
  4. CheckPage? checkPage,
  5. Widget nextButton(
    1. int pageNumber,
    2. bool checkingPages
    )?,
  6. Widget backButton(
    1. int pageNumber,
    2. bool checkingPages,
    3. int pageAmount
    )?,
  7. Axis scrollDirection = Axis.horizontal,
  8. ScrollPhysics? scrollPhysics,
})

Implementation

const FlutterFormOptions({
  required this.pages,
  required this.onFinished,
  required this.onNext,
  this.checkPage,
  this.nextButton,
  this.backButton,
  this.scrollDirection = Axis.horizontal,
  this.scrollPhysics,
});