Closed ethicnology closed 1 day ago
Hi, firstly try to add comments /// something
on rust functions and see whether it appears on the generated dart side. If it does not appear then it is a bug and feel free to create issues!
This is great, sorry for the time wasted
It's OK!
Is your feature request related to a problem? Please describe. I wish a solution to display documentation comments over the generated dart files. This is really helpful for a third party user.
Describe the solution you'd like I'm creating bindings for rust libraries to dart/flutter ecosystem When the user wants to consume one of those dart function there is no documentation attached to the method/function/class.
When I'm manually wrapping the rust functions, if I add the documentation comments over these functions/struct/impl I want the doc to be replicated to the generated dart files so the users of the bindings can have access to this documentation too.
Describe alternatives you've considered I can add the doc comments to the generated dart files but it will be overwritten each time I re-generate.