跳到主要内容
版本:dev

Dart Setup

Fory Dart is published on pub.dev and requires Dart SDK 3.7 or later. Generated serializers use build_runner. Keep Fory packages and generated code in one application on compatible versions.

Verify the Toolchain

dart --version
dart pub --help

Choose a Capability

CapabilityPackage or toolContinue with
Object Serializationfory plus build_runnerDart object serialization and xlang
Schema and generated modelsfory-compilerFory IDL and Compiler
Fory gRPCgenerated companions plus package:grpcDart gRPC

Each capability guide owns its exact pubspec.yaml, generation command, and first runnable example.