-
Notifications
You must be signed in to change notification settings - Fork 4
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
Getting an Error with just Importing the Package #2
Comments
Hi, @SteveBraich. I answered here |
@radomir9720 Thanks for pinpointing that, and for your very detailed StackOverflow breakdown. I'll add info to the README.md pointing people to @SteveBraich I updated the Dart and Flutter minimum version constraints based on this information. Your code should work now, assuming it works on Dart >=2.19.0 and Flutter >=3.7.0. |
@SteveBraich I published the minimum version fixes as |
Thanks Radomir! I commented on your answer to my stackoverflow post. Downgrading to the 1.0.1 or 1.0.0 version of the package results in the same error.
|
@SteveBraich Answered to your comment on StackOverflow. Take a look at it to see the detailed answer. In short, specify package version without caret: |
Correct, but a better solution is to depend upon |
He has flutter version below |
I followed the instructions for installing flutter_reactive_value as described here.
flutter pub add flutter_reactive_value
And I added the import on my main.dart:
import 'package:flutter_reactive_value/flutter_reactive_value.dart';
That's as far as I get.
I am on dart 2.18. I tried it with all versions of this library (1.0.0 - 1.0.3). Also, I downloaded the example (the entire project folder) located here and got the same error listed below. I tried this both as a Flutter web (chrome) and a Flutter Windows app.
Flutter web (Chrome) Error:
Flutter Windows Error:
Any ideas? I am really hoping to use the simple state management that flutter_reactive_value offers. Thanks!
The text was updated successfully, but these errors were encountered: