CustomPasswordField constructor

const CustomPasswordField({
  1. Key? key,
  2. required String label,
  3. TextEditingController? controller,
})

Creates a CustomPasswordField with the required label and optional controller

Example:

final _passwordController = TextEditingController();
CustomPasswordField(
  label: 'Create Password',
  controller: _passwordController,
)

Implementation

const CustomPasswordField({super.key, required this.label, this.controller});