FLUTTER ECOSYSTEM

zorphy

Dart/Flutter के लिए एक शक्तिशाली कोड जनरेशन पैकेज जो स्पष्ट क्लास परिभाषाएं प्रदान करता है, copyWith, JSON सीरियलाइजेशन, toString, समानता और विरासत समर्थन के साथ

नवीनतम वर्ज़न
2.4.3
30-दिन डाउनलोड
20.9 हज़ार
लाइक
0
Pub अंक
120

पैकेज अवलोकन

सार्वजनिक जानकारी से बना चयन मार्गदर्शन। केवल संदर्भ हेतु।

अवलोकन

Zorphy एक Dart/Flutter कोड जनरेशन पैकेज है जो स्वचालित रूप से copyWith, JSON सीरियलाइज़ेशन, toString, समानता चेक और विरासत के साथ साफ और बनाए रखने योग्य क्लासेस बनाने को सरल बनाता है। यह एनोटेशन के आधार पर आवश्यक विधियों को स्वचालित रूप से उत्पन्न करके बॉयलरप्लेट को कम करता है, जिससे कोड पठनीयता और डेवलपर उत्पादकता में सुधार होता है। संरचित डेटा मॉडल के साथ न्यूनतम हस्तचालित कार्यान्वयन की आवश्यकता वाले प्रोजेक्ट्स के लिए आदर्श है।

उपयोग
  • 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 आइटम

सोर्स रिपॉज़िटरी

संबंधित प्रोजेक्ट

अभी कोई डेटा उपलब्ध नहीं है।

रैंकिंग