bolter 3.2.6
bolter: ^3.2.6 copied to clipboard
Are you tired of complex state management solutions for your Flutter applications? Introducing Bolter, a simple yet powerful state management solution that streamlines your app's performance and impro [...]
example/bolter_example.dart
import 'package:bolter/bolter.dart';
Future<void> main() async {
final k = K();
defaultBolter.listen(() => k.v, () {
print(k.v);
});
defaultBolter.runAndUpdate(
action: () {
return k.v = 20;
},
);
}
class K {
int v = 0;
}