Thanks to visit codestin.com
Credit goes to github.com

Skip to content
d-markey edited this page Jan 29, 2026 · 23 revisions

🚀 Welcome to the Squadron Wiki

Squadron logo

Pub Package Dart Platforms Flutter Platforms License Null Safety Dart Style Pub Points Likes Downloads Last Commit Dart Workflow Code Lines Code Coverage

Squadron is a powerful Dart library designed to simplify multithreading and worker thread pools. It allows you to offload CPU-bound and long-running tasks to background threads, keeping your application responsive and smooth. ✨

🌟 Key Features

  • 🌍 Cross-Platform: Works on native platforms (Windows, Linux, macOS, Android, iOS) using Isolates and on Web platforms (JavaScript, Web Assembly) using Web Workers.
  • 🎯 Type Safety: Strong typing support with automatic code generation to handle the complexities of crossing thread boundaries.
  • 🏗️ Worker Pools: Easily manage pools of workers to handle concurrent tasks efficiently.
  • ⚡ Easy Integration: Powered by squadron_builder and build_runner to generate boilerplate code for you.

📑 Documentation Index

👋 1. Introduction

⚛️ 2. Core Concepts

🎯 3. Data & Type Safety

  • Data Transfer and Types - Understanding how data moves between threads.
  • Marshaling - Handling custom objects and complex data structures.
  • Converters - Handling platform-specific type differences (e.g. int vs double on Web).

🚀 4. Advanced Topics

💀 5. The Gory Details

🛠️ 6. Reference

Clone this wiki locally