FormPage constructor
const
FormPage({
- Key? key,
- required GlobalKey<
FormState> formKey, - Color? appBarColor,
- bool? loader,
- bool? showAppBar,
- bool? backIcon,
- dynamic appBarHeight,
- double? height,
- double? width,
- Widget? logoImage,
- Widget? backIconWidget,
- Widget? emailInputWidget,
- Widget? passwordInputWidget,
- Widget? confirmPasswordInputWidget,
- Widget? newPasswordInputWidget,
- Widget? firstNameInputWidget,
- Widget? lastNameInputWidget,
- Widget? phoneNumberInputWidget,
- Widget? forgotPasswordTextWidget,
- Widget? submitButtonWidget,
- Widget? dontHaveAccountTextWidget,
- Widget? haveAccountTextWidget,
- List<
Widget> ? bodyWidgets, - EdgeInsets? padding,
- 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,
});