TDInputView constructor

const TDInputView({
  1. Key? key,
  2. required TextStyle textStyle,
  3. bool readOnly = false,
  4. bool autofocus = false,
  5. bool obscureText = false,
  6. VoidCallback? onEditingComplete,
  7. ValueChanged<String>? onSubmitted,
  8. String? hintText = '',
  9. TextInputType? inputType,
  10. ValueChanged<String>? onChanged,
  11. List<TextInputFormatter>? inputFormatters,
  12. InputDecoration? inputDecoration,
  13. int? maxLines,
  14. FocusNode? focusNode,
  15. TextStyle? hintTextStyle,
  16. Color? cursorColor,
  17. Color? textInputBackgroundColor,
  18. EdgeInsetsGeometry contentPadding = EdgeInsets.zero,
  19. bool isCollapsed = false,
  20. TextAlign? textAlign,
  21. 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,
      );