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.