Skip to content

This Flutter Network Repository is a template designed to simplify the setup of network handling in your Flutter applications. This setup allows developers to focus on building features rather than getting bogged down in network configuration.

Notifications You must be signed in to change notification settings

atish-pun/Flutter-Network-Repository

 
 

Repository files navigation

Flutter Network Repository

Description

This Flutter Network Repository is a template designed to simplify the setup of network handling in your Flutter applications. It provides a robust and reusable network module that integrates Dio for HTTP requests, along with comprehensive error handling and retry mechanisms. This setup allows developers to focus on building features rather than getting bogged down in network configuration.

Features

  • Automatic Error Handling: Centralized error management for API responses.
  • Network Repository: Real-time connectivity checks to handle network status changes effectively.
  • Retries and Network interceptors: Configurable retry mechanism for failed requests, ensuring resilience in network communication.
  • Dio Client Setup: Pre-configured Dio client with base options.
  • Network Monitoring: Real-time connectivity checks to handle network status changes effectively.

Getting Started

To use this template in your Flutter project, follow these steps:

  1. Clone the repository:

    git clone https://github.com/as3hr/Flutter-Network-Repository.git
    cd Flutter-Network-Repository
  2. Install dependencies: Ensure you have Flutter and Dart installed, then run:

    flutter pub get
  3. Integrate the network module: Import the network module into your Flutter app and use the provided classes and methods to handle network requests.

DEMO

Contributing

Contributions are welcome! If you have suggestions or improvements, please open an issue or submit a pull request.

About

This Flutter Network Repository is a template designed to simplify the setup of network handling in your Flutter applications. This setup allows developers to focus on building features rather than getting bogged down in network configuration.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dart 38.6%
  • C++ 30.5%
  • CMake 24.8%
  • Swift 2.5%
  • C 1.8%
  • HTML 1.6%
  • Other 0.2%