ff_bloc 1.0.5 copy "ff_bloc: ^1.0.5" to clipboard
ff_bloc: ^1.0.5 copied to clipboard

Lightweight BLoC foundations for stream-based events, explicit states, concurrency policies, subscriptions, and disposal.

example/lib/main.dart

import 'package:ff_bloc_example/you_awesome/index.dart';
import 'package:flutter/material.dart';
import 'package:flutter_bloc/flutter_bloc.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'ff_bloc example',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: BlocProvider(
        create: (_) => YouAwesomeBloc(
          provider: YouAwesomeProvider(),
        ),
        child: const YouAwesomePage(),
      ),
    );
  }
}
3
likes
160
points
131
downloads

Documentation

Documentation
API reference

Publisher

verified publisheraso.dev

Weekly Downloads

Lightweight BLoC foundations for stream-based events, explicit states, concurrency policies, subscriptions, and disposal.

Homepage
Repository (GitHub)
View/report issues

Topics

#bloc #state-management #flutter #concurrency

License

MIT (license)

Dependencies

bloc_concurrency, equatable, flutter, flutter_bloc, get_it

More

Packages that depend on ff_bloc