New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
After upgraded to the lastest version, I got this... #399
Comments
For Flutter 1.17 and below kindly stick to v3.12.* v3.13.0 works for the newly released Flutter 1.20 |
Thank you for the clarifications! I did try to downgrade to my previous version (3.9) and also did try to use the version 3.12, but when compiling, Flutter stick to the version 3.13... What do I need to do to get it back to a previous version? |
Changing the version from 3.13.0 to 3.12.2 in the pubspec.lock file and then executing |
Thank you very much! I will try. |
No problem. But after fixing the wrong version you'll get another error. Now with the Error: Compiler message: Edit: Styling |
Only upgrading Flutter to 1.20 fixed it for me. |
I have the same issue. |
Use v3.12.* for Flutter pre-1.20 |
If this issue persists (ie dependency_overrides:
flutter_chips_input: ^1.8.3 |
If you do v3.12, you will get this error.
|
Use v3.12.3 (three point twelve) and not 3.1.2 (three point one point two) |
That was a small mistake. Thank you very much! |
I have the exact same problem. I have Flutter v1.17. I tried to change the package version to 3.12.3, did flutter clean and flutter pub cache repair, but the problem persists. Any solution? |
I am using FormBuilder 3.13.5 with Flutter 1.20.4 on stable channel. |
@pulstar please try following I had the same issue after many try. flutter version : 1.20.4 |
|
This still a issue? |
It is fine now. |
Compiler message:
/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_form_builder-3.13.0/lib/src/fields/form_builder_checkbox.dart:28:9: Error: Type 'MouseCursor' not found.
final MouseCursor mouseCursor;
^^^^^^^^^^^
/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_form_builder-3.13.0/lib/src/fields/form_builder_date_time_picker.dart:151:9: Error: Type 'TimePickerEntryMode' not found.
final TimePickerEntryMode timePickerInitialEntryMode;
^^^^^^^^^^^^^^^^^^^
/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_form_builder-3.13.0/lib/src/fields/form_builder_slider.dart:36:9: Error: Type 'MouseCursor' not found.
final MouseCursor mouseCursor;
^^^^^^^^^^^
/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_form_builder-3.13.0/lib/src/fields/form_builder_switch.dart:67:9: Error: Type 'MouseCursor' not found.
final MouseCursor mouseCursor;
^^^^^^^^^^^
/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_chips_input-1.9.0/lib/src/chips_input.dart:393:3: Error: Type 'AutofillScope' not found.
AutofillScope get currentAutofillScope => null;
^^^^^^^^^^^^^
/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_form_builder-3.13.0/lib/src/fields/form_builder_checkbox.dart:28:9: Error: 'MouseCursor' isn't a type.
final MouseCursor mouseCursor;
^^^^^^^^^^^
/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_form_builder-3.13.0/lib/src/fields/form_builder_checkbox.dart:101:7: Error: No named parameter with the name 'mouseCursor'.
mouseCursor: widget.mouseCursor,
^^^^^^^^^^^
/C:/src/flutter/packages/flutter/lib/src/material/checkbox.dart:58:9: Context: Found this candidate, but the arguments don't match.
const Checkbox({
^^^^^^^^
/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_form_builder-3.13.0/lib/src/fields/form_builder_date_time_picker.dart:151:9: Error: 'TimePickerEntryMode' isn't a type.
final TimePickerEntryMode timePickerInitialEntryMode;
^^^^^^^^^^^^^^^^^^^
/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_form_builder-3.13.0/lib/src/fields/form_builder_date_time_picker.dart:400:9: Error: No named parameter with the name 'currentDate'.
currentDate: widget.currentDate,
^^^^^^^^^^^
/C:/src/flutter/packages/flutter/lib/src/material/pickers/date_picker_dialog.dart:91:18: Context: Found this candidate, but the arguments don't match.
Future showDatePicker({
^^^^^^^^^^^^^^
/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_form_builder-3.13.0/lib/src/fields/form_builder_date_time_picker.dart:433:9: Error: No named parameter with the name 'initialEntryMode'.
initialEntryMode: widget.timePickerInitialEntryMode,
^^^^^^^^^^^^^^^^
/C:/src/flutter/packages/flutter/lib/src/material/time_picker.dart:1803:19: Context: Found this candidate, but the arguments don't match.
Future showTimePicker({
^^^^^^^^^^^^^^
/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_form_builder-3.13.0/lib/src/fields/form_builder_slider.dart:36:9: Error: 'MouseCursor' isn't a type.
final MouseCursor mouseCursor;
^^^^^^^^^^^
/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_form_builder-3.13.0/lib/src/fields/form_builder_slider.dart:138:19: Error: No named parameter with the name 'focusNode'.
focusNode: widget.focusNode,
^^^^^^^^^
/C:/src/flutter/packages/flutter/lib/src/material/slider.dart:114:9: Context: Found this candidate, but the arguments don't match.
const Slider({
^^^^^^
/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_form_builder-3.13.0/lib/src/fields/form_builder_switch.dart:67:9: Error: 'MouseCursor' isn't a type.
final MouseCursor mouseCursor;
^^^^^^^^^^^
/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_form_builder-3.13.0/lib/src/fields/form_builder_switch.dart:179:17: Error: No named parameter with the name 'mouseCursor'.
mouseCursor: widget.mouseCursor,
^^^^^^^^^^^
/C:/src/flutter/packages/flutter/lib/src/material/switch.dart:65:9: Context: Found this candidate, but the arguments don't match.
const Switch({
^^^^^^
/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_form_builder-3.13.0/lib/src/fields/form_builder_text_field.dart:199:7: Error: No named parameter with the name 'autofillHints'.
autofillHints: widget.autofillHints,
^^^^^^^^^^^^^
/C:/src/flutter/packages/flutter/lib/src/material/text_form_field.dart:131:3: Context: Found this candidate, but the arguments don't match.
TextFormField({
^^^^^^^^^^^^^
Compiler message:
/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_form_builder-3.13.0/lib/src/fields/form_builder_checkbox.dart:28:9: Error: Type 'MouseCursor' not found.
final MouseCursor mouseCursor;
^^^^^^^^^^^
/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_form_builder-3.13.0/lib/src/fields/form_builder_date_time_picker.dart:151:9: Error: Type 'TimePickerEntryMode' not found.
final TimePickerEntryMode timePickerInitialEntryMode;
^^^^^^^^^^^^^^^^^^^
/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_form_builder-3.13.0/lib/src/fields/form_builder_slider.dart:36:9: Error: Type 'MouseCursor' not found.
final MouseCursor mouseCursor;
^^^^^^^^^^^
/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_form_builder-3.13.0/lib/src/fields/form_builder_switch.dart:67:9: Error: Type 'MouseCursor' not found.
final MouseCursor mouseCursor;
^^^^^^^^^^^
/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_chips_input-1.9.0/lib/src/chips_input.dart:393:3: Error: Type 'AutofillScope' not found.
AutofillScope get currentAutofillScope => null;
^^^^^^^^^^^^^
/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_form_builder-3.13.0/lib/src/fields/form_builder_checkbox.dart:28:9: Error: 'MouseCursor' isn't a type.
final MouseCursor mouseCursor;
^^^^^^^^^^^
/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_form_builder-3.13.0/lib/src/fields/form_builder_checkbox.dart:101:7: Error: No named parameter with the name 'mouseCursor'.
mouseCursor: widget.mouseCursor,
^^^^^^^^^^^
/C:/src/flutter/packages/flutter/lib/src/material/checkbox.dart:58:9: Context: Found this candidate, but the arguments don't match.
const Checkbox({
^^^^^^^^
/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_form_builder-3.13.0/lib/src/fields/form_builder_date_time_picker.dart:151:9: Error: 'TimePickerEntryMode' isn't a type.
final TimePickerEntryMode timePickerInitialEntryMode;
^^^^^^^^^^^^^^^^^^^
/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_form_builder-3.13.0/lib/src/fields/form_builder_date_time_picker.dart:400:9: Error: No named parameter with the name 'currentDate'.
currentDate: widget.currentDate,
^^^^^^^^^^^
/C:/src/flutter/packages/flutter/lib/src/material/pickers/date_picker_dialog.dart:91:18: Context: Found this candidate, but the arguments don't match.
Future showDatePicker({
^^^^^^^^^^^^^^
/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_form_builder-3.13.0/lib/src/fields/form_builder_date_time_picker.dart:433:9: Error: No named parameter with the name 'initialEntryMode'.
initialEntryMode: widget.timePickerInitialEntryMode,
^^^^^^^^^^^^^^^^
/C:/src/flutter/packages/flutter/lib/src/material/time_picker.dart:1803:19: Context: Found this candidate, but the arguments don't match.
Future showTimePicker({
^^^^^^^^^^^^^^
/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_form_builder-3.13.0/lib/src/fields/form_builder_slider.dart:36:9: Error: 'MouseCursor' isn't a type.
final MouseCursor mouseCursor;
^^^^^^^^^^^
/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_form_builder-3.13.0/lib/src/fields/form_builder_slider.dart:138:19: Error: No named parameter with the name 'focusNode'.
focusNode: widget.focusNode,
^^^^^^^^^
/C:/src/flutter/packages/flutter/lib/src/material/slider.dart:114:9: Context: Found this candidate, but the arguments don't match.
const Slider({
^^^^^^
/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_form_builder-3.13.0/lib/src/fields/form_builder_switch.dart:67:9: Error: 'MouseCursor' isn't a type.
final MouseCursor mouseCursor;
^^^^^^^^^^^
/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_form_builder-3.13.0/lib/src/fields/form_builder_switch.dart:179:17: Error: No named parameter with the name 'mouseCursor'.
mouseCursor: widget.mouseCursor,
^^^^^^^^^^^
/C:/src/flutter/packages/flutter/lib/src/material/switch.dart:65:9: Context: Found this candidate, but the arguments don't match.
const Switch({
^^^^^^
/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_form_builder-3.13.0/lib/src/fields/form_builder_text_field.dart:199:7: Error: No named parameter with the name 'autofillHints'.
autofillHints: widget.autofillHints,
^^^^^^^^^^^^^
/C:/src/flutter/packages/flutter/lib/src/material/text_form_field.dart:131:3: Context: Found this candidate, but the arguments don't match.
TextFormField({
^^^^^^^^^^^^^
Target kernel_snapshot failed: Exception: Errors during snapshot creation: null
build failed.
The text was updated successfully, but these errors were encountered: