bond_network 0.0.11+8 copy "bond_network: ^0.0.11+8" to clipboard
bond_network: ^0.0.11+8 copied to clipboard

Network is a Bond package provides a convenient way to handle API response.

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.

1
likes
140
points
10
downloads

Publisher

unverified uploader

Weekly Downloads

Network is a Bond package provides a convenient way to handle API response.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

bond_cache, bond_core, dio, equatable, faker, flutter, json_annotation, json_serializable, meta, package_info_plus

More

Packages that depend on bond_network