TDInputView constructor
const
TDInputView({
- Key? key,
- required TextStyle textStyle,
- bool readOnly = false,
- bool autofocus = false,
- bool obscureText = false,
- VoidCallback? onEditingComplete,
- ValueChanged<
String> ? onSubmitted, - String? hintText = '',
- TextInputType? inputType,
- ValueChanged<
String> ? onChanged, - List<
TextInputFormatter> ? inputFormatters, - InputDecoration? inputDecoration,
- int? maxLines,
- FocusNode? focusNode,
- TextStyle? hintTextStyle,
- Color? cursorColor,
- Color? textInputBackgroundColor,
- EdgeInsetsGeometry contentPadding = EdgeInsets.zero,
- bool isCollapsed = false,
- TextAlign? textAlign,
- TextEditingController? controller,
Implementation
const TDInputView(
{Key? key,
required this.textStyle,
this.readOnly = false,
this.autofocus = false,
this.obscureText = false,
this.onEditingComplete,
this.onSubmitted,
this.hintText = '',
this.inputType,
this.onChanged,
this.inputFormatters,
this.inputDecoration,
this.maxLines,
this.focusNode,
this.hintTextStyle,
this.cursorColor,
this.textInputBackgroundColor,
this.contentPadding = EdgeInsets.zero,
this.isCollapsed = false,
this.textAlign,
this.controller})
: super(
key: key,
);