Getting Started with FlintClient 🚀

flint_client is a high-performance, resilient HTTP & WebSocket client for Dart and Flutter applications featuring built-in retries, caching, cancellation tokens, structured error diagnostics, and observability hooks.

---

📦 Installation

Add flint_client to your Dart/Flutter project:

CodeBlock bash
dart pub add flint_client

---

⚙️ Initializing FlintClient

CodeBlock dart
import 'package:flint_client/flint_client.dart';

final client = FlintClient(
  baseUrl: 'https://api.myapp.com/v1',
  timeout: const Duration(seconds: 15),
  defaultHeaders: {
    'Accept': 'application/json',
  },
  debug: true,
);

---

💡 Quick GET / POST Request

CodeBlock dart
// Typed GET request
final response = await client.get('/users/me');
print(response.data['name']);

// Typed POST request
final created = await client.post(
  '/projects',
  body: {
    'title': 'Autonomous Rover',
    'status': 'active',
  },
);
print(created.statusCode); // 201
Flint Dart logo
Flint EcosystemThe Unified Dart Technology Stack

One language powering Full-Stack Web, Cross-Platform Clients, Native AI, and Connected Robotics.

Fullstack
Client SDK
AI Engine
Hardware
Copyright 2026 Flint Dart. Maintained by Eulogia Technologies.
v 1.3.2
MIT License
Built with Dart