AppTextField.primary constructor

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

Implementation

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