schultek / super_annotations

Write your code generation functions naturally alongside your normal code. Define and use custom annotations in the same file or project.
https://pub.dev/packages/super_annotations
MIT License
39 stars 5 forks source link

Add external key word for the FieldBuilder #8

Closed XinyuKhan closed 1 year ago

XinyuKhan commented 1 year ago

Something like this:

class MyStruct externs Struct {
    @Float()
    external double value;
}
schultek commented 1 year ago

I'm using the code_builder package, there it seems they don't have a external keyword I could use. So you have to open an issue there first.

XinyuKhan commented 1 year ago

Thanks for your reply, I also found this in the code_builder and I posted the same issue there, I used want to add this feature by myself, but I just began to learn dart a week ago. I hope this feature may be added someday. Good luck.