FLUTTER ECOSYSTEM

zorphy

Dart/Flutter向けの強力なコード生成パッケージで、copyWith、JSONシリアライズ、toString、等価性、継承をサポートするクリーンなクラス定義を提供します

最新バージョン
2.4.3
30日間ダウンロード
2.1万
いいね数
0
Pub ポイント
120

パッケージ概要

公開情報に基づく選定ガイドです。参考としてご利用ください。

概要

Zorphy は、copyWith、JSON シリアライズ、toString、等価性チェック、継承を内蔵サポートする、クリーンで保守しやすいクラスを作成を簡素化する Dart/Flutter コード生成パッケージです。アノテーションに基づいて必要なメソッドを自動生成することで、ボイラープレートを削減し、コードの可読性と開発生産性を向上させます。最小限の手動実装で構造化されたデータモデルが必要なプロジェクトに最適です。

用途
  • Generating immutable data classes
  • Automating JSON serialization
  • Creating reusable model classes
  • Simplifying state management
  • Enabling easy object copying with copyWith
  • Supporting inheritance in generated classes
主な機能
  • Automatic copyWith method generation
  • Built-in JSON serialization
  • Generated toString and equality methods
  • Inheritance support in generated classes
  • Minimal boilerplate with annotations
  • Cross-platform compatibility
適している対象
  • Flutter developers using state management
  • Teams prioritizing code consistency
  • Projects with heavy data modeling
  • Apps requiring JSON parsing
  • Developers seeking reduced boilerplate
  • Those using code generation workflows
注意事項
  • Requires understanding of code generation concepts
  • Needs build_runner for compilation
  • May increase build time slightly
  • Limited to classes annotated with Zorphy directives
  • Dependent on correct annotation usage
  • Not suitable for dynamic or runtime-only structures
対応プラットフォームAndroidiOSLinuxmacOSWindows

パッケージをインストール

flutter pub add zorphy

カテゴリー

依存関係

依存関係一覧 14 件

ソースリポジトリ

関連プロジェクト

データはまだありません。

ランキング