/bond-core

Flutter package which contain the core file of one studio apps.

Primary LanguageDartOtherNOASSERTION

one-studio-core

Bond Core is a foundational library for the Flutter Bond framework, designed to streamline the development process in Flutter. It offers robust solutions for state management, authentication, theming, service provider registration, and caching, with built-in integrations for analytics and notifications. It is aimed at enhancing productivity and efficiency by providing a unified and simplified API for common Flutter tasks. Its modular and scalable design makes it suitable for projects of any size.

Getting Started

In the pubspec.yaml of your flutter project, add the following dependency:

dependencies:
  flutter:
    sdk:
  bond_core:
    git:
      url: https://github.com/onestudio-co/bond-core.git
      ref: main

In your library add the following import:

import 'package:bond_core/core.dart';

Usage

Coming soon

Package Content

├── lib
|   ├── src
│   │   ├── auth
│   │   │   └── auth.dart
|   |   |   └── auth_store.dart
|   |   |   └── authenticable.dart
|   |   ├── cache
|   |   |   └── drivers  
|   |   |       └── cache_driver.dart
|   |   |       └── in_memory_cache_driver.dart
|   |   |       └── shared_preferences_cache_driver.dart
|   |   |   └── cache.dart
│   │   ├── injection
│   │   |   └── injection_container.dart
│   │   |   └── service_provider.dart
|   |   ├──  network
|   |   |    └── errors
|   |   |        └── exceptions.dart
|   |   |        └── failures.dart
|   |   |    └── factories
|   |   |        └── server_exception_factory.dart
|   |   |    └── models
|   |   |        └── jsonable.dart
|   |   |        └── model.dart
|   |   |        └── list_response.dart
|   |   |        └── list_response.g.dart
|   |   |        └── meta.dart
|   |   |        └── meta.g.dart
|   |   |        └── single_m_response.dart
|   |   |        └── single_response.dart
|   |   |        └── single_response.g.dart
|   |   |        └── success_response.dart
|   |   |        └── success_response.g.dart
|   |   |    └── api.dart
|   |   |    └── api_client.dart
|   |   |    └── data_source.dart
|   |   |    └── errors.dart
|   |   |    └── factories.dart
|   |   |    └── models.dart
│   │   ├──  utils
│   │   │    └── device_utils.dart
│   │   │    └── size_util.dart
│   │   │    └── string_extension.dart
│   │   ├── auth.dart
│   │   ├── cache.dart
│   │   ├── injection.dart
│   │   ├── network.dart
│   │   └── utils.dart
│   └── core.dart
├── pubspec.lock
├── pubspec.yaml