CreateAccount constructor
const
CreateAccount({
- Key? key,
- bool isEmailRequired = true,
- bool isNameRequired = true,
- bool isGenderRequired = false,
- bool isDobRequired = false,
- dynamic createAccountError,
- bool showEmail = true,
- bool showUserName = true,
- bool showGender = false,
- bool showDob = false,
- TextStyle? inputStyle,
- TextStyle? titleStyle,
- TextStyle? subTitleStyle,
- ButtonStyle? submitButtonStyle,
- TextStyle? submitButtonTextStyle,
- required TextInputConfig inputConfig,
Implementation
const CreateAccount({
super.key,
this.isEmailRequired = true,
this.isNameRequired = true,
this.isGenderRequired = false,
this.isDobRequired = false,
this.createAccountError,
this.showEmail = true,
this.showUserName = true,
this.showGender = false,
this.showDob = false,
// required this.onSubmit,
this.inputStyle,
this.titleStyle,
this.subTitleStyle,
this.submitButtonStyle,
this.submitButtonTextStyle,
// this.isLoading = false,
// this.isSuccess = false,
required this.inputConfig,
});