CustomPasswordField constructor
const
CustomPasswordField({
- Key? key,
- required String label,
- 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});