Skip to content
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

Fully undocumented readme file #3

Open
fufylev opened this issue Aug 13, 2022 · 1 comment
Open

Fully undocumented readme file #3

fufylev opened this issue Aug 13, 2022 · 1 comment

Comments

@fufylev
Copy link

fufylev commented Aug 13, 2022

Hi alphamikle!

I do respect your efforts on this topic but I do not have a slittiest idea of how to use your library. Your source of code with an example is useless as I don't know how to navigate thru it. Sorry for saying this, but this is the fact that I have to study this provided project in order to figure out how to use your package - it is too complicated way to do this and not everyone have a time to explore the whole project and neither do I.

Moreover, in this bloc of code (package:high_low/domain/main/logic/main_backend.dart) I got this type of error: "The argument type 'Future<List> Function({void data, required MainEvent event})' can't be assigned to the parameter type 'FutureOr<ActionResponse> Function({required dynamic data, required MainEvent event})'."

@override
  void initActions() {
    whenEventCome(MainEvent.loadStocks).run(_loadStocks);
    whenEventCome(MainEvent.filterStocks).run(_filterStocks);
  }

Unless you provided a simple example with usage both Frontend and Backend on example of BLoC or another state manager I can't use this lib, unfortunately.

Please provide a simple example on both repo and pub as all other publishers do.

Thanks in advance.

@alphamikle
Copy link
Owner

Hi @fufylev! A big thanks for your feedback. Really appreciate it! I will update the example project this weekend and trigger you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants