InitScreen constructor

InitScreen({
  1. required List<Widget> children,
  2. GlobalKey<State<StatefulWidget>>? key,
  3. Icon stepIcon = const Icon(Icons.circle),
  4. bool noGoBack = false,
  5. int sensitivity = 1000,
  6. bool showNavButtons = true,
  7. bool showNavHelpers = false,
  8. String navHelperEndText = "Done",
  9. ValueNotifier<bool>? isDoneNotifier,
  10. Icon navHelperIconLeft = const Icon(Icons.chevron_left),
  11. Icon navHelperIconRight = const Icon(Icons.chevron_right),
  12. Function? customNavButtonBuilder,
  13. FloatingActionButtonLocation navBtnLocation = FloatingActionButtonLocation.centerDocked,
  14. GlobalKey<FormState>? validatorKey,
})

Implementation

InitScreen(
    {required this.children,
    this.key,
    this.stepIcon = const Icon(Icons.circle),
    this.noGoBack = false,
    this.sensitivity = 1000,
    this.showNavButtons = true,
    this.showNavHelpers = false,
    this.navHelperEndText = "Done",
    this.isDoneNotifier,
    this.navHelperIconLeft = const Icon(Icons.chevron_left),
    this.navHelperIconRight = const Icon(Icons.chevron_right),
    this.customNavButtonBuilder,
    this.navBtnLocation = FloatingActionButtonLocation.centerDocked,
    this.validatorKey})
    : super(key: key) {
  assert(navHelperEndText.length < 8);
}