FormPage constructor

const FormPage({
  1. Key? key,
  2. required GlobalKey<FormState> formKey,
  3. Color? appBarColor,
  4. bool? loader,
  5. bool? showAppBar,
  6. bool? backIcon,
  7. bool? menuIcon,
  8. dynamic appBarHeight,
  9. double? height,
  10. double? width,
  11. Widget? logoImage,
  12. Widget? backIconWidget,
  13. Widget? emailInputWidget,
  14. Widget? passwordInputWidget,
  15. Widget? confirmPasswordInputWidget,
  16. Widget? newPasswordInputWidget,
  17. Widget? firstNameInputWidget,
  18. Widget? lastNameInputWidget,
  19. Widget? phoneNumberInputWidget,
  20. Widget? forgotPasswordTextWidget,
  21. Widget? submitButtonWidget,
  22. Widget? dontHaveAccountTextWidget,
  23. Widget? haveAccountTextWidget,
  24. List<Widget>? bodyWidgets,
  25. EdgeInsets? padding,
  26. VoidCallback? backIconTap,
})

Implementation

const FormPage({
  super.key,
  required this.formKey,
  this.appBarColor,
  this.loader,
  this.showAppBar,
  this.backIcon,
  this.menuIcon,
  this.appBarHeight,
  this.height,
  this.width,
  this.logoImage,
  this.backIconWidget,
  this.emailInputWidget,
  this.passwordInputWidget,
  this.confirmPasswordInputWidget,
  this.newPasswordInputWidget,
  this.firstNameInputWidget,
  this.lastNameInputWidget,
  this.phoneNumberInputWidget,
  this.forgotPasswordTextWidget,
  this.submitButtonWidget,
  this.dontHaveAccountTextWidget,
  this.haveAccountTextWidget,
  this.bodyWidgets,
  this.padding,
  this.backIconTap,
});