PrimaryTextField constructor
const
PrimaryTextField({
- Key? key,
- required String placeholder,
- TextEditingController? controller,
- TextInputType? keyboardType,
- GestureTapCallback? onTap,
- ValueChanged<
String> ? onChanged, - VoidCallback? onEditingComplete,
- bool readOnly = false,
- FocusNode? focusNode,
- int? minLines,
- int? maxLines,
- FormFieldValidator<
String> ? validator, - bool isObscure = false,
- Widget? trailing,
- double? borderRadius,
- Color? focusBorderColor,
- double? focusBorderWidth,
Creates a configurable primary text field.
Implementation
const PrimaryTextField({
super.key,
required this.placeholder,
this.controller,
this.keyboardType,
this.onTap,
this.onChanged,
this.onEditingComplete,
this.readOnly = false,
this.focusNode,
this.minLines,
this.maxLines,
this.validator,
this.isObscure = false,
this.trailing,
this.borderRadius,
this.focusBorderColor,
this.focusBorderWidth,
});