Back

sharing the code between flutter and dart

  • 0
  • Flutter
trejdych
7 Jul, 2024, 06:44

Hi there πŸ™‚ This is my first message here, so first of all I want to thank you for the awesome service.

I would like to ask what is the reason for not sharing the classes (or interfaces) between flutter and dart packages?

TL;DR
Developers are unable to directly share code between Flutter and Dart packages due to language restrictions, as Flutter heavily relies on its own set of APIs and widgets. However, developers can still create shared packages containing common functionality and use them in both Flutter and Dart projects.
Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more