mobx_provider 0.0.4 copy "mobx_provider: ^0.0.4" to clipboard
mobx_provider: ^0.0.4 copied to clipboard

package for binding the UI with your stores (viewmodels) easily , the package is inspired by filled stacks archticture pattern

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:provider/provider.dart';

import 'counter/counter_store.dart';
import 'counter/counter_widget.dart';

void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return MultiProvider(
      providers: [
        Provider(
          create: (_) => CounterStore(),
        )
      ],
      child: MaterialApp(
        title: 'Flutter Demo',
        theme: ThemeData(
          primarySwatch: Colors.blue,
        ),
        home: CounterWidget(),
      ),
    );
  }
}
14
likes
40
pub points
0%
popularity

Publisher

unverified uploader

package for binding the UI with your stores (viewmodels) easily , the package is inspired by filled stacks archticture pattern

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

flutter, flutter_mobx, mobx, provider

More

Packages that depend on mobx_provider