-
Notifications
You must be signed in to change notification settings - Fork 225
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
Error running in Flutter 2.0 #27
Comments
Same issue here. Running on Flutter v2.2.0
|
Same here running on 2.12.0, worked fine before upgrading project for null safety
|
Getting same problem. when running on --no-sound-null-safety it is working as expected. Dont know how to solve this on null safety. When the exception was thrown, this was the stack:
|
Hello guys, i have the same issue here is there a wayaround it ? |
yes, I solved it by changing the plugin file. Are you getting the exact same error? |
am having the same error, what do you mean by changing the plugin file ? |
I'm using MultiSelectBottomSheetField and if you check what this return you'll know why this error is coming. so i just go to its definition, it is returning this |
It didn't helped that fixed, still getting original error. I'm using MultiSelectChipField. Found the same return to apply the same fix. |
In my case I changed MultiSelectDialogField( into MultiSelectDialogField<ROLES?>( and it works. Of course use whatever you need instead of ROLES. Thanks @tashfeenzaidi |
Getting this error message all the time woth Flutter 2.0.3
It works when running flutter in no-sound mode (flutter run --no-sound-null-safety) but even then the "title" is not recognized and I get the default "Select"
======== Exception caught by gesture ===============================================================
The following _TypeError was thrown while handling a gesture:
type 'List<String?>' is not a subtype of type 'List?' of 'value'
When the exception was thrown, this was the stack:
#0 FormFieldState.didChange (package:flutter/src/widgets/form.dart)
#1 __MultiSelectDialogFieldViewState._showDialog.. (package:multi_select_flutter/dialog/multi_select_dialog_field.dart:369:29)
#2 MultiSelectActions.onConfirmTap (package:multi_select_flutter/util/multi_select_actions.dart:27:16)
#3 _MultiSelectDialogState.build. (package:multi_select_flutter/dialog/mult_select_dialog.dart:300:20)
#4 _InkResponseState._handleTap (package:flutter/src/material/ink_well.dart:991:20)
...
Handler: "onTap"
Recognizer: TapGestureRecognizer#85693
debugOwner: GestureDetector
state: possible
won arena
finalPosition: Offset(288.0, 617.7)
finalLocalPosition: Offset(40.0, 19.7)
button: 1
sent tap down
The text was updated successfully, but these errors were encountered: