fzyzcjy / flutter_rust_bridge

Flutter/Dart <-> Rust binding generator, feature-rich, but seamless and simple.
https://fzyzcjy.github.io/flutter_rust_bridge/
MIT License
3.64k stars 256 forks source link

For char types, use String on the Dart side. #1935

Closed iota9star closed 1 week ago

iota9star commented 2 weeks ago

Is your feature request related to a problem? Please describe. In version 2.0.0-dev.33, the Dart types generated for char types do not use the String type. image

fzyzcjy commented 2 weeks ago

Related: https://github.com/fzyzcjy/flutter_rust_bridge/pull/1640#issuecomment-1886110024

Thus cc @Desdaemon - do you have interest in finishing the PR, or I work on the PR?

Desdaemon commented 2 weeks ago

Please do take over the PR, I'm not doing much with Flutter recently. Thanks!

fzyzcjy commented 2 weeks ago

Sure!