circle_decoupling 1.0.4
circle_decoupling: ^1.0.4 copied to clipboard
A decoupled version of the Circle package, providing modular and reusable components for Flutter applications.
Circle Decoupling #
Circle Decoupling is a modular and reusable Flutter package designed to provide decoupled components from the Circle framework. It enables seamless integration of various features while maintaining flexibility and scalability.
Installation #
In your pubspec.yaml
file within your Flutter Project:
dependencies:
circle_decoupling: latest_version
Usage #
Import the package
import 'package:circle_decoupling/circle_decoupling.dart';
BloC Setup #
FeedSpaceBloc (For Post and Spaces)
To manage post and spaces, you need to initialize FeedSpaceBloc
and provide it using BlocProvider
BlocProvider<FeedSpaceBloc>(
create: (context) => FeedSpaceBloc(),
);
Event Bloc
For events, initialize and provide EventBloc
BlocProvider(
create: (context) => EventBloc(apiService),
);
Screens #
PostScreen SpaceScreen EventDetailScreen
Features #
- 🔹 Decoupled architecture for modular integration
- 🔹 API service utilities using Dio
- 🔹 Flutter BLoC state management support
- 🔹 UI components for enhanced usability
- 🔹 Optimized for performance and scalability