InputField constructor
const
InputField({
- Key? key,
- TextEditingController? controller,
- ValueChanged<
String> ? onChanged, - String? hintText,
- String? innerLabelText,
- Color? borderColor,
- double? elevation,
- IconData? prefixIcon,
- IconData? suffixIcon,
- String? labelText,
- double? labelFieldSpace,
- bool? isMultiline,
- TextInputType? inputType,
- VoidCallback? onTap,
- void onTapOutside(
- PointerDownEvent pointerDownEvent
- bool? readOnly,
- bool? isObscure,
- int? maxLines,
- int? minLines,
- EdgeInsets? contentPadding,
- InputDecoration? inputDecoration,
- Color? fillColor,
- TextStyle? allTextStyle,
- TextStyle? textStyle,
- TextStyle? hintStyle,
- TextStyle? innerLabelStyle,
- TextStyle? labelStyle,
- bool? labelIsBold,
- InputDecorationBuilder? inputDecorationBuilder,
- BorderRadius? borderRadius,
- FocusNode? focusNode,
- TextDirection? textDirection,
- FormFieldValidator<
String> ? validator, - List<
TextInputFormatter> ? inputFormatters,
Implementation
const InputField({
Key? key,
this.controller,
this.onChanged,
this.hintText,
this.innerLabelText,
this.borderColor,
this.elevation,
this.prefixIcon,
this.suffixIcon,
this.labelText,
this.labelFieldSpace,
this.isMultiline,
this.inputType,
this.onTap,
this.onTapOutside,
this.readOnly,
this.isObscure,
this.maxLines,
this.minLines,
this.contentPadding,
this.inputDecoration,
this.fillColor,
this.allTextStyle,
this.textStyle,
this.hintStyle,
this.innerLabelStyle,
this.labelStyle,
this.labelIsBold,
this.inputDecorationBuilder,
this.borderRadius,
this.focusNode,
this.textDirection,
this.validator,
this.inputFormatters,
}) : super(key: key);