mono_state 0.4.0 icon indicating copy to clipboard operation
mono_state: ^0.4.0 copied to clipboard

State Management Lib - reactive and less boilerplate.

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:get/instance_manager.dart';
import 'package:get/route_manager.dart';
import 'package:mono_state/mono_state.dart';

import 'package:todos/states/counter.dart';
import 'package:todos/states/searchCategory.dart';
import 'package:todos/states/todo.dart';

import './pages/counterPage.dart';

void main() {
  Get.put(MonoState([CounterState(), SearchCategoryState(), TodoState()]));
  runApp(GetMaterialApp(
    debugShowCheckedModeBanner: false,
    home: CounterPage(),
  ));
}
0
likes
110
pub points
0%
popularity

Publisher

unverified uploader

State Management Lib - reactive and less boilerplate.

Repository (GitHub)

Documentation

API reference

License

Icon for licenses.BSD-3-Clause (LICENSE)

Dependencies

rxdart

More

Packages that depend on mono_state