GPasswordField constructor
const
GPasswordField({
- Key? key,
- required TextEditingController controller,
- String labelText = 'Password',
- String hintText = 'Enter your password',
- TextInputAction textInputAction = TextInputAction.done,
- List<
TextInputFormatter> ? inputFormatters, - String? validator()?,
- void onChanged()?,
- TextInputType keyboardType = TextInputType.visiblePassword,
- IconData? prefixIcon = Icons.lock,
Implementation
const GPasswordField({
super.key,
required super.controller,
super.labelText = 'Password',
super.hintText = 'Enter your password',
super.textInputAction = TextInputAction.done,
super.inputFormatters,
super.validator,
super.onChanged,
super.keyboardType = TextInputType.visiblePassword,
super.prefixIcon = Icons.lock,
});