streams_provider 0.1.1 copy "streams_provider: ^0.1.1" to clipboard
streams_provider: ^0.1.1 copied to clipboard

It provides an elegent and effectively ways to use stream in Provider.

example/lib/main.dart

import 'package:example/sign_in_provider.dart';
import 'package:example/sign_in_screen.dart';
import 'package:flutter/material.dart';
import 'package:streams_provider/streams_provider.dart';

void main() {
  runApp(App());
}

class App extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: StreamsProvider<SignInProvider>(
        create: (_) => SignInProvider(),
        child: SignInScreen(),
      ),
    );
  }
}
5
likes
150
pub points
54%
popularity

Publisher

unverified uploader

It provides an elegent and effectively ways to use stream in Provider.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

collection, flutter, provider, rxdart

More

Packages that depend on streams_provider