PasswordInput constructor
const
PasswordInput({
- Key? key,
- TextEditingController? controller,
- String? initialValue,
- FormFieldValidator<
String> ? validator, - ValueChanged<
String> ? onFieldSubmitted, - TextInputAction? textInputAction,
- dynamic onEditingComplete()?,
- bool enabled = true,
- bool autofocus = false,
- String? label = 'Password',
- String? placeholder = 'Enter your password',
- dynamic onChanged()?,
- TextInputType? keyboardType,
- GestureTapCallback? onTap,
Implementation
const PasswordInput({
super.key,
this.controller,
this.initialValue,
this.validator,
this.onFieldSubmitted,
this.textInputAction,
this.onEditingComplete,
this.enabled = true,
this.autofocus = false,
this.label = 'Password',
this.placeholder = 'Enter your password',
this.onChanged,
this.keyboardType,
this.onTap,
});