get_it_mixin
get_it_mixin copied to clipboard
State Management extension for get_it
We are using [ort](https://github.com/oss-review-toolkit/ort/) for automatic software compliance checks. get_it_mixin is one of our dependencies and we use it in version 4.2.2. Now, ort fails in scanning this repo, as...
Hi my friends, I recently published my new package `watch_it`, an overhauled version of the `get_it_mixin` but with a more intuitive and streamlined API. Porting an existing project using `get_it_mixin`...
I have a custom object `Strokes` which implements `changeNotifier`. I watch it with: ``` dart final Strokes strokes = watchOnly((Strokes s) => s); ``` This object has two methods `deleteLastStroke()`:...
Let's suppose the structure below of a Viewmodel ``` import 'package:dio/dio.dart'; import 'package:flutter/foundation.dart'; import 'package:injectable/injectable.dart'; @Injectable() class MyViewmodel { final name = ValueNotifier(null); bool _initialized = false; Future initialize() async...