EasyPasswordField constructor

const EasyPasswordField({
  1. Key? key,
  2. required TextEditingController controller,
  3. String hintText = 'Password',
  4. int minLength = 6,
})

Creates an EasyPasswordField widget.

controller is required. hintText defaults to 'Password' and minLength to 6 if not provided.

Implementation

const EasyPasswordField({
  super.key,
  required this.controller,
  this.hintText = 'Password',
  this.minLength = 6,
});