flutter_form_builder
flutter_form_builder copied to clipboard
Desktop support
Build fails on macos desktop target with a LD error. Could anybody explain why desktop is not supported or/and if there is any plan to support desktop targets? I guess there is a native dependency but couldn't find it easily in the build logs (run -v).
In the meantime I've managed to compile my project and run it on mac by cloning the flutter_form_builder and using it as a local dependency. I also needed to clone one more project (flutter_chips_input) and do a minor change there because of an API incompatibility. I guess that kind of proves it works on desktop but I don't have the time to investigate more why it doesn't work out of the box in a project by using it straight from pub.dev.
My devenv is: Flutter 1.20.0-3.0.pre.126 • channel master • https://github.com/flutter/flutter.git Framework • revision 462b0ea76e (3 days ago) • 2020-07-02 16:13:02 -0400 Engine • revision 51ca1432b3 Tools • Dart 2.9.0 (build 2.9.0-20.0.dev 8afe9875a6)
In the meantime I've managed to compile my project and run it on mac by cloning the flutter_form_builder and using it as a local dependency. I also needed to clone one more project (flutter_chips_input) and do a minor change there because of an API incompatibility. I guess that kind of proves it works on desktop but I don't have the time to investigate more why it doesn't work out of the box in a project by using it straight from pub.dev.
My devenv is: Flutter 1.20.0-3.0.pre.126 • channel master • https://github.com/flutter/flutter.git Framework • revision 462b0ea76e (3 days ago) • 2020-07-02 16:13:02 -0400 Engine • revision 51ca1432b3 Tools • Dart 2.9.0 (build 2.9.0-20.0.dev 8afe9875a6)
This is caused by a lack of compatibility between the stable and pre-release versions of Flutter APIs and the solution can be found here
We need implement the next things
- [ ] Add desktop platform examples
- [ ] Add build desktop platform to base pipeline
- [ ] Optional. Add to readme specific setup or use of package to desktop platforms