Dart Code-Generator

Open-source Dart projects categorized as Code-Generator

Dart Code-Generator Projects

  • freezed

    Code generation for immutable classes that has a simple syntax/API without compromising on the features.

  • Project mention: Dart 3.3 | news.ycombinator.com | 2024-02-15

    There is the `sealed` class modifier which allows for exhaustive matching on possible types: https://dart.dev/language/class-modifiers#sealed

    There's also a package called freezed which offers similar utility (you might already be familiar with this seeing as you mentioned pattern matching): https://pub.dev/packages/freezed

    I recall there being a reason unions aren't generally implemented, though I'm not sure where I read it. It was to do with union types being unnecessarily complex for the compiler and the code they tend to produce, at no real benefit to the programmer or the resulting program. Go's lack of unions is essentially based around the same reasoning.

  • flutter_gen

    The Flutter code generator for your assets, fonts, colors, … — Get rid of all String-based APIs.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

Dart Code-Generator related posts

Index

Project Stars
1 freezed 1,805
2 flutter_gen 1,398

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com