Welcome to my blog. I plan to upload posts about problems encountered while developing apps. - I am fan of Flutter đŠ, Linux đ§, mechanical keyboards âš and 3d printers đš
Feel free to contact me in any of those languages: đ”đ±đŻđ” đșđž
Photo by Afif Ramdhasuma on Unsplash
Embedding Dart into a native C++ application enables you to run Dart code alongside your native logic, combining the power of Dartâs language features and package ecosystem with the performance and system access of C++. This post guides you step-by-step from setting up the project to running Dart code, calling native functions, marshaling data, and managing isolates with message passing.
This guide also assumes that you compiled dart-sdk by yourself as described in previous post
...
If youâre working on integrating Dart into another systemâlike a native mobile app, an embedded environment, or a game engineâyou might need Dart compiled as a shared library. While Dart doesnât officially distribute its engine as a shared object, it is possible to build one yourself.
In this guide, weâll walk through the steps to build the Dart SDK as a shared library (.dylib, .so, or .dll, depending on your platform). We will compile Dart SDK to Shared Library for JIT mode.
...
Photo by Pau Sayrol on Unsplash
Hello again! Today I will continue my Flutter Linux journey and we will touch Linux integration again. Last time we managed to setup Visual Studio Code for plugin development, today we will take a closer look at Method Channels.
If you want to create a plugin with Method Channel support itâs quite easy, just generate a Flutter project from template using flutter create -t plugin --platforms=linux <name of your project>. However, what if you donât want to create a separate plugin and just add some custom code to your Flutter Linux application? Iâve found out itâs not straightforward so I thought that I will write this article so you wonât have to figure it out by yourself.
...
This post was also posted to Flutter Community Medium
Thanks to Flutter support for the Linux desktop, we can now expect more beautiful apps for this great platform. However, when you want to write a custom plugin to expand your appâs functionality, you need to write some C code. I havenât found instructions on how to do that anywhere, so here is how to set up Visual Studio Code to develop and debug Flutter plugins for Linux.
...
Welcome to my blog. I plan to upload posts about problems encountered while developing apps.
Hope you will find answers to your problems too.