Execute long-running tasks in a background thread in Flutter
Background JSON parsing and state management for jank-free Flutter UI rendering. Provides decision tree for choosing between manual serialization (dart:convert) and code generation (json_serializable) based on model complexity Supports three concurrency strategies: main-thread async/await for small payloads, short-lived Isolate.run() for heavy one-off computations, and long-lived isolates with ReceivePort/SendPort for continuous two-way communication Includes platform-aware fallback: uses compute() for Flutter Web since dart:isolate threading is unsupported Demonstrates integration with FutureBuilder for responsive UI state binding and enforces key constraints like no UI access in isolates and immutable message passing Flutter Concurrency and Data Management Goal Implements advanced Flutter data handling, including background JSON serialization using Isolates, asynchronous state management, and platform-aware concurrency to ensure jank-free 60fps+ UI rendering. Assumes a standard Flutter environment (Dart 2.19+) with access to dart:convert, dart:isolate, and standard state management paradigms. Decision Logic Use the following decision tree to determine the correct serialization and concurrency approach before writing code:
don't have the plugin yet? install it then click "run inline in claude" again.