Skip to content
pubscout
Category Serialization & codegen

Serialization & codegen

Generate JSON parsing, immutable models and boilerplate.

227 packages

  • built_collection6.0.0Flutter FavoriteWASM-ready

    Immutable collections based on SDK collections with builder pattern.

    UtilitiesAll platforms (pure Dart)Updated 4 weeks ago
    96
    Downloads in 30 days
    14M
    downloads
    Likes
    347
    likes
  • code_builder4.13.0WASM-readyRock solid

    A fluent, builder-based library for generating valid Dart code programmatically.

    Serialization & codegenAll platforms (pure Dart)Updated 5 weeks ago
    93
    Downloads in 30 days
    14M
    downloads
    Likes
    299
    likes
  • build_runner2.17.1WASM-readyRock solid

    A build system for Dart code generation and modular compilation.

    Serialization & codegenAll platforms (pure Dart)Updated 5 weeks ago
    93
    Downloads in 30 days
    7.8M
    downloads
    Likes
    2.4k
    likes
  • freezed4.0.3Flutter FavoriteRock solid

    Code generation for immutable classes, tagged unions, and cloning without boilerplate.

    Serialization & codegenUpdated 5 weeks ago
    96
    Downloads in 30 days
    3.1M
    downloads
    Likes
    4.5k
    likes
  • json_serializable6.15.2Flutter FavoriteRock solid

    Automatically generate code for converting Dart classes to and from JSON.

    Serialization & codegenAll platforms (pure Dart)Updated 4 weeks ago
    94
    Downloads in 30 days
    4.5M
    downloads
    Likes
    4k
    likes
  • built_value8.13.0Flutter FavoriteWASM-readyRock solid

    Immutable value types with builders, enum classes and JSON serialization for Dart.

    Serialization & codegenAll platforms (pure Dart)Updated 3 months ago
    88
    Downloads in 30 days
    18M
    downloads
    Likes
    784
    likes
  • Provides the hook protocol specification for bundling native code with Dart packages.

    Serialization & codegenAll platforms (pure Dart)Updated 2 weeks ago
    88
    Downloads in 30 days
    16M
    downloads
    Likes
    20
    likes
  • objective_c9.6.4Rock solid

    Support library for accessing Objective C via ffigen in Flutter

    Serialization & codegenUpdated 10 days ago
    90
    Downloads in 30 days
    9.9M
    downloads
    Likes
    18
    likes
  • vector_graphics_compiler1.3.6WASM-readyRock solid

    A compiler to convert SVGs to the binary format used by package:vector_graphics.

    Images & mediaUpdated 9 days ago
    89
    Downloads in 30 days
    7.1M
    downloads
    Likes
    124
    likes
  • build5.0.0

    Package for authoring build_runner compatible code generators.

    Serialization & codegenAll platforms (pure Dart)Updated 5 weeks ago
    87
    Downloads in 30 days
    8.1M
    downloads
    Likes
    102
    likes
  • ffi2.2.0

    Utilities for working with Foreign Function Interface (FFI) code in Dart.

    UtilitiesAll platforms (pure Dart)Updated 9 months ago
    84
    Downloads in 30 days
    16M
    downloads
    Likes
    354
    likes
  • json_annotation4.12.0WASM-ready

    Provides annotations for json_serializable to generate JSON (de)serialization code.

    Serialization & codegenAll platforms (pure Dart)Updated 6 months ago
    84
    Downloads in 30 days
    16M
    downloads
    Likes
    1.3k
    likes
  • build_config1.4.0Rock solid

    Format definition and support for parsing build.yaml configuration.

    Serialization & codegenAll platforms (pure Dart)Updated 5 weeks ago
    85
    Downloads in 30 days
    7.9M
    downloads
    Likes
    67
    likes
  • Source code generation builders and utilities for the Dart build system.

    Serialization & codegenAll platforms (pure Dart)Updated 5 weeks ago
    84
    Downloads in 30 days
    7.6M
    downloads
    Likes
    191
    likes
  • Invoke the native C compiler installed on the host machine.

    Serialization & codegenAll platforms (pure Dart)Updated 2 weeks ago
    85
    Downloads in 30 days
    4.7M
    downloads
    Likes
    27
    likes
  • ffigen23.0.0

    Generator for FFI bindings, using LibClang to parse C, Objective-C, and Swift files.

    Serialization & codegenUpdated 7 weeks ago
    90
    Downloads in 30 days
    1.1M
    downloads
    Likes
    340
    likes
  • flutter_rust_bridge2.13.0Flutter FavoriteWASM-readyRock solid

    Flutter/Dart and Rust binding generator

    Serialization & codegenAll platforms (pure Dart)Updated 3 months ago
    92
    Downloads in 30 days
    650k
    downloads
    Likes
    668
    likes
  • checked_yaml2.0.4WASM-ready

    Provides checkedYamlDecode to give detailed errors when decoding YAML with json_serializable.

    Serialization & codegenAll platforms (pure Dart)Updated a year agoQuiet but busy
    79
    Downloads in 30 days
    12M
    downloads
    Likes
    35
    likes
  • mason0.1.3

    Dart template generator for quick file creation

    Serialization & codegenAll platforms (pure Dart)Updated 2 months ago
    89
    Downloads in 30 days
    1.2M
    downloads
    Likes
    843
    likes
  • pigeon30.0.4

    Type-safe code generator for communication between Flutter and host platforms.

    Serialization & codegenAll platforms (pure Dart)Updated 3 days ago
    90
    Downloads in 30 days
    921k
    downloads
    Likes
    1.3k
    likes
  • protobuf6.1.0WASM-ready

    Provides runtime support for Dart protocol buffer messages generated by protoc_plugin.

    Serialization & codegenAll platforms (pure Dart)Updated 2 months ago
    84
    Downloads in 30 days
    3.2M
    downloads
    Likes
    256
    likes
  • go_router_builder4.5.3Rock solid

    A code generator for type-safe route helpers and definitions with package:go_router.

    Navigation & routingUpdated 3 weeks ago
    92
    Downloads in 30 days
    424k
    downloads
    Likes
    303
    likes
  • Utilities to help with Dart source code generation and string literal formatting.

    Serialization & codegenAll platforms (pure Dart)Updated 5 weeks ago
    81
    Downloads in 30 days
    4.8M
    downloads
    Likes
    19
    likes
  • retrofit4.10.0WASM-readyRock solid

    Dart Dio client generator using source_gen

    NetworkingAll platforms (pure Dart)Updated 3 months ago
    89
    Downloads in 30 days
    705k
    downloads
    Likes
    2.1k
    likes
  • retrofit_generator10.3.3Rock solid

    Generates Dio client code from Retrofit‑style annotations.

    Serialization & codegenAll platforms (pure Dart)Updated 3 weeks ago
    89
    Downloads in 30 days
    606k
    downloads
    Likes
    201
    likes
  • riverpod_annotation4.0.8WASM-ready

    Annotations for riverpod_generator to enable code generation

    Serialization & codegenAll platforms (pure Dart)Updated 2 weeks ago
    85
    Downloads in 30 days
    1.5M
    downloads
    Likes
    182
    likes
  • dart_mappable4.10.0WASM-readyRock solid

    JSON serialization and data classes generator supporting generics, inheritance, and customization.

    Serialization & codegenAll platforms (pure Dart)Updated 2 months ago
    89
    Downloads in 30 days
    513k
    downloads
    Likes
    470
    likes
  • slang4.19.2WASM-readyRock solid

    Type-safe i18n solution generating Dart translation classes from JSON, YAML, CSV, or ARB files

    LocalizationAll platforms (pure Dart)Updated 2 months ago
    90
    Downloads in 30 days
    401k
    downloads
    Likes
    798
    likes
  • drift_dev2.35.3

    Generates Dart database code from Drift table definitions as a dev‑dependency.

    Serialization & codegenAll platforms (pure Dart)Updated 12 days ago
    84
    Downloads in 30 days
    1.6M
    downloads
    Likes
    72
    likes
  • Generates Riverpod providers from annotated functions using build_runner.

    Serialization & codegenAll platforms (pure Dart)Updated 2 weeks ago
    85
    Downloads in 30 days
    1.2M
    downloads
    Likes
    438
    likes
Best Flutter serialization & codegen packages (2026) | pubscout