flutter_form_builder icon indicating copy to clipboard operation
flutter_form_builder copied to clipboard

Desktop support

Open smikez opened this issue 5 years ago • 3 comments

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).

smikez avatar Jun 30 '20 14:06 smikez

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)

smikez avatar Jul 06 '20 05:07 smikez

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

danvick avatar Jul 20 '20 18:07 danvick

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

deandreamatias avatar Jul 21 '22 07:07 deandreamatias