blocstar 1.2.8 copy "blocstar: ^1.2.8" to clipboard
blocstar: ^1.2.8 copied to clipboard

outdated

Bloc based nano framework, that helps structure how your flutter code is laid out and written.

example/lib/main.dart

import 'package:blocstar_example/Modules/Counter/UI/Counter.dart';
import 'package:blocstar_example/Shared/Blocstar/BlocRegistry.dart';
import 'package:flutter/material.dart';

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

class MyApp extends StatelessWidget {
  MyApp() {
    _initializeBlocs();
  }

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Blocstar Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: new Counter(),
    );
  }

  _initializeBlocs() {
    BlocRegistry.register();
  }
}
1
likes
0
pub points
42%
popularity

Publisher

unverified uploader

Bloc based nano framework, that helps structure how your flutter code is laid out and written.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

async, bargain_di, flutter

More

Packages that depend on blocstar