bond_core 0.0.1+9 copy "bond_core: ^0.0.1+9" to clipboard
bond_core: ^0.0.1+9 copied to clipboard

Bond Core Foundational Library for the Flutter Bond framework.

example/example.md

Bond Core Example #

This document provides a simple example of how to use the Bond Core package in your Flutter application.

Setup #

  1. First, ensure you have the package added to your pubspec.yaml:
dependencies:
  bond_core: ^latest_version
  1. Import the necessary packages in your Dart file:
import 'package:bond_core/bond_core.dart';

Usage #

Below is a basic example to initialize your app using the Bond Core package:

void main() =>
    run(
          () =>
      const ProviderScope(
        child: BondApp(),
      ),
      RunAppTasks(appProviders),
    );

final List<ServiceProvider> providers = [
  // Framework Service Providers
  FirebaseServiceProvider(),
  AppServiceProvider(),
  AuthServiceProvider(),
  ApiServiceProvider(),
  CacheServiceProvider(),
  AnalyticsServiceProvider(),
  FormServiceProvider(),
  NotificationsServiceProvider(),

  // Modules Service Providers
  PostServiceProvider(),
  // more...
];

Remember, Bond Core offers a range of utilities, extensions, and other functionalities. Explore the official documentation for comprehensive guides, tutorials, and API references.

3
likes
160
pub points
34%
popularity

Publisher

unverified uploader

Bond Core Foundational Library for the Flutter Bond framework.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter, get_it

More

Packages that depend on bond_core