call 0.0.2 copy "call: ^0.0.2" to clipboard
call: ^0.0.2 copied to clipboard

outdated

Using assets to use DLL more conveniently.

call #

Using assets's way to call Dynamic Library more conveniently and easily.

First #

Write your C-code, and compile it to a dylib. Example:

gcc -shared -fPIC -o libadd.dll main.c

[]

Second #

You should declare path of the dylib in the pubspec.yaml file as images.

Third #

Let's write some easy flutter code to test it. []

Fourth #

I use the Windows OS now, and run the app by flutter run -d Windows. []

Finally, you can see the number, 100!!!

6
likes
0
points
34
downloads

Publisher

unverified uploader

Weekly Downloads

Using assets to use DLL more conveniently.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, path

More

Packages that depend on call