flutter-puzzle-hack icon indicating copy to clipboard operation
flutter-puzzle-hack copied to clipboard

refactor: ⚒️ migrate to Riverpod

Open Roaa94 opened this issue 3 years ago • 1 comments

Status

⚠️ ⚠️ WORK IN PROGRESS ⚠️ ⚠️

Includes:

  • [ ] Optimize folder structure and make it feature-based
  • [ ] Migrate from provider to riverpod
  • [ ] Add tests up to 100% coverage
  • [ ] Refactor layout logic
  • [ ] Bug fixes
  • [ ] Add workflows for testing and linting
  • [ ] Add issue & pull request templates
  • [ ] Use very_good_analysis

Roaa94 avatar Jan 21 '23 07:01 Roaa94

I think it is better to be add .autodispose modifiers to service,constant classes ex:

final storageServiceProvider = Provider.autoDispose<StorageService>(
  (_) => HiveStorageService(),
);

Shreemanarjun avatar Jan 21 '23 17:01 Shreemanarjun