isolator icon indicating copy to clipboard operation
isolator copied to clipboard

Fully undocumented readme file

Open fufylev opened this issue 2 years ago • 1 comments

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<StockItem>> 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.

fufylev avatar Aug 13 '22 14:08 fufylev

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

alphamikle avatar Aug 13 '22 20:08 alphamikle