call 0.0.3 copy "call: ^0.0.3" to clipboard
call: ^0.0.3 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
pub points
71%
popularity

Publisher

unverified uploader

Using assets to use DLL more conveniently.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter, path

More

Packages that depend on call