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

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
130
points
131
downloads

Publisher

unverified uploader

Weekly Downloads

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

Repository (GitHub)

Documentation

API reference

License

unknown (license)

Dependencies

async, bargain_di, flutter

More

Packages that depend on blocstar