You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Cut and paste it into a new file in a flutter project, and it has compile errors.
It seems to be an example taken from inside the project, that assumes a context that does not exist unless you are actually developing the package. In particular, "sharedConfigManager" and "HomePage" aren't defined, and the following two imports are invalid:
Without this working, it's difficult for anyone to see an actual known-to-work example of what code to use to verify this package is working or try any experiments.
Speaking as a person coming in cold trying to figure out how to use this package, I'm finding it very difficult to figure out what's not at all and what I'm simply doing wrong because I don't understand the proper setup. A known-to-work example would help tremendously.
I've had to resort to forking the entire package and running the example from inside that, as if I were developing the package itself, vs just using the package in my own project.
The text was updated successfully, but these errors were encountered:
The example from pub.dev listing does not run.
Cut and paste it into a new file in a flutter project, and it has compile errors.
It seems to be an example taken from inside the project, that assumes a context that does not exist unless you are actually developing the package. In particular, "sharedConfigManager" and "HomePage" aren't defined, and the following two imports are invalid:
import 'package:window_manager_example/pages/home.dart';
import 'package:window_manager_example/utils/config.dart';
Without this working, it's difficult for anyone to see an actual known-to-work example of what code to use to verify this package is working or try any experiments.
Speaking as a person coming in cold trying to figure out how to use this package, I'm finding it very difficult to figure out what's not at all and what I'm simply doing wrong because I don't understand the proper setup. A known-to-work example would help tremendously.
I've had to resort to forking the entire package and running the example from inside that, as if I were developing the package itself, vs just using the package in my own project.
The text was updated successfully, but these errors were encountered: