bind method

LiveTextField bind({
  1. MutableCell<String>? content,
  2. MutableCell<TextSelection>? selection,
  3. Object? groupId,
  4. FocusNode? focusNode,
  5. UndoHistoryController? undoController,
  6. InputDecoration? decoration,
  7. TextInputType? keyboardType,
  8. TextInputAction? textInputAction,
  9. TextCapitalization? textCapitalization,
  10. TextStyle? style,
  11. StrutStyle? strutStyle,
  12. TextAlign? textAlign,
  13. TextAlignVertical? textAlignVertical,
  14. TextDirection? textDirection,
  15. bool? readOnly,
  16. ToolbarOptions? toolbarOptions,
  17. bool? showCursor,
  18. bool? autofocus,
  19. WidgetStatesController? statesController,
  20. String? obscuringCharacter,
  21. bool? obscureText,
  22. bool? autocorrect,
  23. SmartDashesType? smartDashesType,
  24. SmartQuotesType? smartQuotesType,
  25. bool? enableSuggestions,
  26. int? maxLines,
  27. int? minLines,
  28. bool? expands,
  29. int? maxLength,
  30. MaxLengthEnforcement? maxLengthEnforcement,
  31. void onChanged(
    1. String
    )?,
  32. void onEditingComplete()?,
  33. void onSubmitted(
    1. String
    )?,
  34. void onAppPrivateCommand(
    1. String,
    2. Map<String, dynamic>
    )?,
  35. List<TextInputFormatter>? inputFormatters,
  36. ValueCell<bool?>? enabled,
  37. bool? ignorePointers,
  38. double? cursorWidth,
  39. double? cursorHeight,
  40. Radius? cursorRadius,
  41. bool? cursorOpacityAnimates,
  42. Color? cursorColor,
  43. Color? cursorErrorColor,
  44. BoxHeightStyle? selectionHeightStyle,
  45. BoxWidthStyle? selectionWidthStyle,
  46. Brightness? keyboardAppearance,
  47. EdgeInsets? scrollPadding,
  48. DragStartBehavior? dragStartBehavior,
  49. bool? enableInteractiveSelection,
  50. TextSelectionControls? selectionControls,
  51. void onTap()?,
  52. bool? onTapAlwaysCalled,
  53. void onTapOutside(
    1. PointerDownEvent
    )?,
  54. MouseCursor? mouseCursor,
  55. Widget? buildCounter(
    1. BuildContext, {
    2. required int currentLength,
    3. required bool isFocused,
    4. required int? maxLength,
    })?,
  56. ScrollController? scrollController,
  57. ScrollPhysics? scrollPhysics,
  58. Iterable<String>? autofillHints,
  59. ContentInsertionConfiguration? contentInsertionConfiguration,
  60. Clip? clipBehavior,
  61. String? restorationId,
  62. bool? scribbleEnabled,
  63. bool? enableIMEPersonalizedLearning,
  64. bool? canRequestFocus,
  65. SpellCheckConfiguration? spellCheckConfiguration,
  66. TextMagnifierConfiguration? magnifierConfiguration,
})

Implementation

LiveTextField bind({
  MutableCell<String>? content,
  MutableCell<TextSelection>? selection,
  Object? groupId,
  FocusNode? focusNode,
  UndoHistoryController? undoController,
  InputDecoration? decoration,
  TextInputType? keyboardType,
  TextInputAction? textInputAction,
  TextCapitalization? textCapitalization,
  TextStyle? style,
  StrutStyle? strutStyle,
  TextAlign? textAlign,
  TextAlignVertical? textAlignVertical,
  TextDirection? textDirection,
  bool? readOnly,
  ToolbarOptions? toolbarOptions,
  bool? showCursor,
  bool? autofocus,
  WidgetStatesController? statesController,
  String? obscuringCharacter,
  bool? obscureText,
  bool? autocorrect,
  SmartDashesType? smartDashesType,
  SmartQuotesType? smartQuotesType,
  bool? enableSuggestions,
  int? maxLines,
  int? minLines,
  bool? expands,
  int? maxLength,
  MaxLengthEnforcement? maxLengthEnforcement,
  void Function(String)? onChanged,
  void Function()? onEditingComplete,
  void Function(String)? onSubmitted,
  void Function(String, Map<String, dynamic>)? onAppPrivateCommand,
  List<TextInputFormatter>? inputFormatters,
  ValueCell<bool?>? enabled,
  bool? ignorePointers,
  double? cursorWidth,
  double? cursorHeight,
  Radius? cursorRadius,
  bool? cursorOpacityAnimates,
  Color? cursorColor,
  Color? cursorErrorColor,
  BoxHeightStyle? selectionHeightStyle,
  BoxWidthStyle? selectionWidthStyle,
  Brightness? keyboardAppearance,
  EdgeInsets? scrollPadding,
  DragStartBehavior? dragStartBehavior,
  bool? enableInteractiveSelection,
  TextSelectionControls? selectionControls,
  void Function()? onTap,
  bool? onTapAlwaysCalled,
  void Function(PointerDownEvent)? onTapOutside,
  MouseCursor? mouseCursor,
  Widget? Function(BuildContext,
          {required int currentLength,
          required bool isFocused,
          required int? maxLength})?
      buildCounter,
  ScrollController? scrollController,
  ScrollPhysics? scrollPhysics,
  Iterable<String>? autofillHints,
  ContentInsertionConfiguration? contentInsertionConfiguration,
  Clip? clipBehavior,
  String? restorationId,
  bool? scribbleEnabled,
  bool? enableIMEPersonalizedLearning,
  bool? canRequestFocus,
  SpellCheckConfiguration? spellCheckConfiguration,
  TextMagnifierConfiguration? magnifierConfiguration,
}) =>
    LiveTextField(
      content: content ?? this.content,
      selection: selection ?? this.selection,
      groupId: groupId ?? this.groupId,
      focusNode: focusNode ?? this.focusNode,
      undoController: undoController ?? this.undoController,
      decoration: decoration ?? this.decoration,
      keyboardType: keyboardType ?? this.keyboardType,
      textInputAction: textInputAction ?? this.textInputAction,
      textCapitalization: textCapitalization ?? this.textCapitalization,
      style: style ?? this.style,
      strutStyle: strutStyle ?? this.strutStyle,
      textAlign: textAlign ?? this.textAlign,
      textAlignVertical: textAlignVertical ?? this.textAlignVertical,
      textDirection: textDirection ?? this.textDirection,
      readOnly: readOnly ?? this.readOnly,
      toolbarOptions: toolbarOptions ?? this.toolbarOptions,
      showCursor: showCursor ?? this.showCursor,
      autofocus: autofocus ?? this.autofocus,
      statesController: statesController ?? this.statesController,
      obscuringCharacter: obscuringCharacter ?? this.obscuringCharacter,
      obscureText: obscureText ?? this.obscureText,
      autocorrect: autocorrect ?? this.autocorrect,
      smartDashesType: smartDashesType ?? this.smartDashesType,
      smartQuotesType: smartQuotesType ?? this.smartQuotesType,
      enableSuggestions: enableSuggestions ?? this.enableSuggestions,
      maxLines: maxLines ?? this.maxLines,
      minLines: minLines ?? this.minLines,
      expands: expands ?? this.expands,
      maxLength: maxLength ?? this.maxLength,
      maxLengthEnforcement: maxLengthEnforcement ?? this.maxLengthEnforcement,
      onChanged: onChanged ?? this.onChanged,
      onEditingComplete: onEditingComplete ?? this.onEditingComplete,
      onSubmitted: onSubmitted ?? this.onSubmitted,
      onAppPrivateCommand: onAppPrivateCommand ?? this.onAppPrivateCommand,
      inputFormatters: inputFormatters ?? this.inputFormatters,
      enabled: enabled ?? this.enabled,
      ignorePointers: ignorePointers ?? this.ignorePointers,
      cursorWidth: cursorWidth ?? this.cursorWidth,
      cursorHeight: cursorHeight ?? this.cursorHeight,
      cursorRadius: cursorRadius ?? this.cursorRadius,
      cursorOpacityAnimates:
          cursorOpacityAnimates ?? this.cursorOpacityAnimates,
      cursorColor: cursorColor ?? this.cursorColor,
      cursorErrorColor: cursorErrorColor ?? this.cursorErrorColor,
      selectionHeightStyle: selectionHeightStyle ?? this.selectionHeightStyle,
      selectionWidthStyle: selectionWidthStyle ?? this.selectionWidthStyle,
      keyboardAppearance: keyboardAppearance ?? this.keyboardAppearance,
      scrollPadding: scrollPadding ?? this.scrollPadding,
      dragStartBehavior: dragStartBehavior ?? this.dragStartBehavior,
      enableInteractiveSelection:
          enableInteractiveSelection ?? this.enableInteractiveSelection,
      selectionControls: selectionControls ?? this.selectionControls,
      onTap: onTap ?? this.onTap,
      onTapAlwaysCalled: onTapAlwaysCalled ?? this.onTapAlwaysCalled,
      onTapOutside: onTapOutside ?? this.onTapOutside,
      mouseCursor: mouseCursor ?? this.mouseCursor,
      buildCounter: buildCounter ?? this.buildCounter,
      scrollController: scrollController ?? this.scrollController,
      scrollPhysics: scrollPhysics ?? this.scrollPhysics,
      autofillHints: autofillHints ?? this.autofillHints,
      contentInsertionConfiguration:
          contentInsertionConfiguration ?? this.contentInsertionConfiguration,
      clipBehavior: clipBehavior ?? this.clipBehavior,
      restorationId: restorationId ?? this.restorationId,
      scribbleEnabled: scribbleEnabled ?? this.scribbleEnabled,
      enableIMEPersonalizedLearning:
          enableIMEPersonalizedLearning ?? this.enableIMEPersonalizedLearning,
      canRequestFocus: canRequestFocus ?? this.canRequestFocus,
      spellCheckConfiguration:
          spellCheckConfiguration ?? this.spellCheckConfiguration,
      magnifierConfiguration:
          magnifierConfiguration ?? this.magnifierConfiguration,
    );