PasswordField constructor

const PasswordField({
  1. String labelText = 'Password',
  2. required TextEditingController controller,
  3. bool isLoading = false,
  4. Key? key,
})

Creates a PasswordField.

controller is required. labelText defaults to 'Password'.

Implementation

const PasswordField({
  this.labelText = 'Password',
  required this.controller,
  this.isLoading = false,
  super.key,
});