GPasswordField constructor

const GPasswordField({
  1. Key? key,
  2. required TextEditingController controller,
  3. String labelText = 'Password',
  4. String hintText = 'Enter your password',
  5. TextInputAction textInputAction = TextInputAction.done,
  6. List<TextInputFormatter>? inputFormatters,
  7. String? validator(
    1. String?
    )?,
  8. void onChanged(
    1. String
    )?,
  9. TextInputType keyboardType = TextInputType.visiblePassword,
  10. 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,
});