Edit lib/main.dart.
    
      Use DynamicLibrary.open('libyourlibrary.dylib')
to dynamically link to the symbols.
      Call your native function somewhere in a widget.

Run flutter run and check that your native function gets called.

Run flutter build macos to build a self-contained release
version of your app.