bsev 2.1.0+1 copy "bsev: ^2.1.0+1" to clipboard
bsev: ^2.1.0+1 copied to clipboard

discontinued

Useful to aid in the use of BloC pattern with dependency injection

example/lib/main.dart

import 'package:bsev/bsev.dart';
import 'package:bsev_demo/di/initDependencies.dart';
import 'package:bsev_demo/screens/home/home_view.dart';
import 'package:flutter/material.dart';

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

class MyApp extends StatelessWidget {
  MyApp() {
    WidgetsFlutterBinding.ensureInitialized();
    Flavors.configure(Flavor.PROD);
    initDependencies();
  }

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: HomeView(),
    );
  }
}
0
likes
35
pub points
0%
popularity

Publisher

unverified uploader

Useful to aid in the use of BloC pattern with dependency injection

Repository (GitHub)
View/report issues

License

MIT (LICENSE)

Dependencies

flutter, get_it, rxdart

More

Packages that depend on bsev