NikuTextFormField.hint constructor

NikuTextFormField.hint(
  1. String? hint, {
  2. Key? key,
  3. Widget? label,
  4. String? labelText,
  5. TextEditingController? controller,
  6. String? initialValue,
  7. FocusNode? focusNode,
  8. NikuInputDecoration? decoration,
  9. TextInputType? keyboardType,
  10. TextCapitalization? textCapitalization,
  11. TextInputAction? textInputAction,
  12. NikuTextStyle? style,
  13. NikuStrutStyle? strutStyle,
  14. TextDirection? textDirection,
  15. TextAlign? textAlign,
  16. TextAlignVertical? textAlignVertical,
  17. bool? autofocus,
  18. bool? readOnly,
  19. ToolbarOptions? toolbarOptions,
  20. bool? showCursor,
  21. String? obscuringCharacter,
  22. bool? obscureText,
  23. bool? autocorrect,
  24. SmartDashesType? smartDashesType,
  25. SmartQuotesType? smartQuotesType,
  26. bool? enableSuggestions,
  27. bool? autovalidate,
  28. bool? maxLengthEnforced,
  29. MaxLengthEnforcement? maxLengthEnforcement,
  30. int? maxLines,
  31. int? minLines,
  32. bool? expands,
  33. int? maxLength,
  34. ValueChanged<String>? onChanged,
  35. GestureTapCallback? onTap,
  36. VoidCallback? onEditingComplete,
  37. ValueChanged<String>? onFieldSubmitted,
  38. FormFieldSetter<String>? onSaved,
  39. FormFieldValidator<String>? validator,
  40. List<TextInputFormatter>? inputFormatters,
  41. bool? enabled,
  42. double? cursorWidth,
  43. double? cursorHeight,
  44. Radius? cursorRadius,
  45. Color? cursorColor,
  46. Brightness? keyboardAppearance,
  47. EdgeInsets? scrollPadding,
  48. bool? enableInteractiveSelection,
  49. TextSelectionControls? selectionControls,
  50. InputCounterWidgetBuilder? buildCounter,
  51. ScrollPhysics? scrollPhysics,
  52. Iterable<String>? autofillHints,
  53. AutovalidateMode? autovalidateMode,
  54. ScrollController? scrollController,
  55. String? restorationId,
  56. bool? enableIMEPersonalizedLearning,
  57. EditableTextContextMenuBuilder? contextMenuBuilder,
  58. TextMagnifierConfiguration? magnifierConfiguration,
  59. SpellCheckConfiguration? spellCheckConfiguration,
  60. bool adaptive = false,
  61. bool cupertino = false,
})

Implementation

factory NikuTextFormField.hint(
  String? hint, {
  Key? key,
  Widget? label,
  String? labelText,
  TextEditingController? controller,
  String? initialValue,
  FocusNode? focusNode,
  NikuInputDecoration? decoration,
  TextInputType? keyboardType,
  TextCapitalization? textCapitalization,
  TextInputAction? textInputAction,
  NikuTextStyle? style,
  NikuStrutStyle? strutStyle,
  TextDirection? textDirection,
  TextAlign? textAlign,
  TextAlignVertical? textAlignVertical,
  bool? autofocus,
  bool? readOnly,
  ToolbarOptions? toolbarOptions,
  bool? showCursor,
  String? obscuringCharacter,
  bool? obscureText,
  bool? autocorrect,
  SmartDashesType? smartDashesType,
  SmartQuotesType? smartQuotesType,
  bool? enableSuggestions,
  bool? autovalidate,
  bool? maxLengthEnforced,
  MaxLengthEnforcement? maxLengthEnforcement,
  int? maxLines,
  int? minLines,
  bool? expands,
  int? maxLength,
  ValueChanged<String>? onChanged,
  GestureTapCallback? onTap,
  VoidCallback? onEditingComplete,
  ValueChanged<String>? onFieldSubmitted,
  FormFieldSetter<String>? onSaved,
  FormFieldValidator<String>? validator,
  List<TextInputFormatter>? inputFormatters,
  bool? enabled,
  double? cursorWidth,
  double? cursorHeight,
  Radius? cursorRadius,
  Color? cursorColor,
  Brightness? keyboardAppearance,
  EdgeInsets? scrollPadding,
  bool? enableInteractiveSelection,
  TextSelectionControls? selectionControls,
  InputCounterWidgetBuilder? buildCounter,
  ScrollPhysics? scrollPhysics,
  Iterable<String>? autofillHints,
  AutovalidateMode? autovalidateMode,
  ScrollController? scrollController,
  String? restorationId,
  bool? enableIMEPersonalizedLearning,
  EditableTextContextMenuBuilder? contextMenuBuilder,
  TextMagnifierConfiguration? magnifierConfiguration,
  SpellCheckConfiguration? spellCheckConfiguration,
  bool adaptive = false,
  bool cupertino = false,
}) =>
    NikuTextFormField(
      hintText: hint,
      label: label,
      labelText: labelText,
      controller: controller,
      initialValue: initialValue,
      focusNode: focusNode,
      decoration: decoration,
      keyboardType: keyboardType,
      textCapitalization: textCapitalization,
      textInputAction: textInputAction,
      style: style,
      strutStyle: strutStyle,
      textDirection: textDirection,
      textAlign: textAlign,
      textAlignVertical: textAlignVertical,
      autofocus: autofocus,
      readOnly: readOnly,
      toolbarOptions: toolbarOptions,
      showCursor: showCursor,
      obscuringCharacter: obscuringCharacter,
      obscureText: obscureText,
      autocorrect: autocorrect,
      smartDashesType: smartDashesType,
      smartQuotesType: smartQuotesType,
      enableSuggestions: enableSuggestions,
      autovalidate: autovalidate,
      maxLengthEnforced: maxLengthEnforced,
      maxLengthEnforcement: maxLengthEnforcement,
      maxLines: maxLines,
      minLines: minLines,
      expands: expands,
      maxLength: maxLength,
      onChanged: onChanged,
      onTap: onTap,
      onEditingComplete: onEditingComplete,
      onFieldSubmitted: onFieldSubmitted,
      onSaved: onSaved,
      validator: validator,
      inputFormatters: inputFormatters,
      enabled: enabled,
      cursorWidth: cursorWidth,
      cursorHeight: cursorHeight,
      cursorRadius: cursorRadius,
      cursorColor: cursorColor,
      keyboardAppearance: keyboardAppearance,
      scrollPadding: scrollPadding,
      enableInteractiveSelection: enableInteractiveSelection,
      selectionControls: selectionControls,
      buildCounter: buildCounter,
      scrollPhysics: scrollPhysics,
      autofillHints: autofillHints,
      autovalidateMode: autovalidateMode,
      scrollController: scrollController,
      restorationId: restorationId,
      enableIMEPersonalizedLearning: enableIMEPersonalizedLearning,
      contextMenuBuilder: contextMenuBuilder,
      magnifierConfiguration: magnifierConfiguration,
      spellCheckConfiguration: spellCheckConfiguration,
      adaptive: adaptive,
      cupertino: cupertino,
    );