Website: https://flatteredwithflutter.com/flutterdesktop-and-c/

We will cover briefly about

  1. Creating C Library

  2. Integrate C Library in Flutter MacOS

  3. Call from Flutter MacOS

Creating C Library

Every complicated thing starts with a basic thing. Let’s create a simple C library (Hello World)

Introducing CMake and makefile

Creating a c library involves a bunch of commands, either you can use those or you can utilize CMake.

FlutterDesktop and C | CMake

As per the documentation

CMake is an extensible, open-source system that manages the build process in an operating system and in a compiler-independent manner.

Medium: https://medium.com/flutter-community/flutterdesktop-and-c-7cd2e0106bd8

Website: https://flatteredwithflutter.com/flutterdesktop-and-c/

DevTo: https://dev.to/aseemwangoo/flutterdesktop-and-c-2bmi