pmvvm 0.3.0 copy "pmvvm: ^0.3.0" to clipboard
pmvvm: ^0.3.0 copied to clipboard

outdated

A clean & simple MVVM solution for state management using Provider package.

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:example/core/packages.dart';

import 'package:example/models/models.module.dart';
import 'core/services/firebase.service.dart';

import 'app/app.view.dart';

void main() => runApp(const Root());

class Root extends StatelessWidget {
  const Root({Key key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return MultiProvider(
      providers: [
        StreamProvider<Profile>.value(value: authService.profile),
      ],
      child: MyApp(),
    );
  }
}
71
likes
0
pub points
80%
popularity

Publisher

unverified uploader

A clean & simple MVVM solution for state management using Provider package.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter, flutter_hooks, provider

More

Packages that depend on pmvvm