AppTextField.password constructor

const AppTextField.password({
  1. Key? key,
  2. TextEditingController? controller,
  3. String? labelText,
  4. String? hintText,
  5. String? errorText,
  6. Widget? prefixIcon,
  7. Widget? suffixIcon,
  8. ValueChanged<String>? onChanged,
  9. bool enabled,
})

Implementation

const factory AppTextField.password({
  Key? key,
  TextEditingController? controller,
  String? labelText,
  String? hintText,
  String? errorText,
  Widget? prefixIcon,
  Widget? suffixIcon,
  ValueChanged<String>? onChanged,
  bool enabled,
}) = _AppTextFieldPassword;