UsernameField constructor

const UsernameField({
  1. Key? key,
  2. TextEditingController? controller,
  3. String? label,
  4. required String? validator(
    1. dynamic value
    ),
})

Implementation

const UsernameField(
    {super.key,
    this.controller,
    this.label,
    required String? Function(dynamic value) validator});