QuickBirdEng / survey_kit

Flutter library to create beautiful surveys (aligned with ResearchKit on iOS)
MIT License
127 stars 97 forks source link

flutter_platform_widget issue after flutter upgrade to 3.16.0 #137

Open mpastewski opened 1 year ago

mpastewski commented 1 year ago

After upgrading Flutter SDK from 3.13.9 to 3.16.0, I started getting compilation errors in the flutter_platform_widget library:

../../../.pub-cache/hosted/pub.dev/flutter_platform_widgets-3.3.5/lib/src/platform_text_field.dart:578:30: Error: The argument type 'bool?' can't be assigned to the parameter type 'bool' because 'bool?' is nullable and 'bool' isn't. enabled: data?.enabled ?? enabled,

It's impossible to upgrade flutter_platform_widget, as the current survey_kit depends on version 3.3.5.

Kazumna commented 1 year ago

Hey mate, did you get a chance to solve the issue? I've encountered that issue as well. Pls let me know if you've found a way to solve it. Thanks!

mpastewski commented 1 year ago

So far, I rolled back to Flutter 3.13.9 and it works for now...