NikuTextFormField.cupertino constructor

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

Implementation

factory NikuTextFormField.cupertino({
  Widget? label,
  String? labelText,
  String? hintText,
  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,
}) =>
    NikuTextFormField(
      label: label,
      labelText: labelText,
      hintText: hintText,
      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,
      scrollController: scrollController,
      restorationId: restorationId,
      autovalidateMode: autovalidateMode,
      enableIMEPersonalizedLearning: enableIMEPersonalizedLearning,
      contextMenuBuilder: contextMenuBuilder,
      magnifierConfiguration: magnifierConfiguration,
      spellCheckConfiguration: spellCheckConfiguration,
      cupertino: true,
    );