df_builder 0.0.4 copy "df_builder: ^0.0.4" to clipboard
df_builder: ^0.0.4 copied to clipboard

small package to generate code in a simple way

PART OF QUEEN PACKAGES 👑 #

Dart File Builder #

Motivation #

generating dart code with build_runner will not work if you are trying to convert json to dart since it requires dart code in the first place .

so i made this simple dart generator , mainly it meant for json to dart conversion to provide easy and simple way to create TR file for nations package also can be use for other use cases

Usage #

  • start with DartFileBuilder
  • add what you need from ClassBuilder ClassGetter ClassProp
  • convert it to string using DartFileBuilder.toString()

Builders #

DartFileBuilder #

  • can add comments
  • can add exports
  • can add imports
2
likes
130
pub points
3%
popularity

Publisher

unverified uploader

small package to generate code in a simple way

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

equatable, recase

More

Packages that depend on df_builder