I would take a look at Platform Channels, which are a way to communicate Flutter code to platform native code (e.g. Java/Kotlin on Android, Objective C/Swift in iOS). From there, you can use your C++ library using the regular NDK mechanisms .
Read moreWhat language do you use with Flutter?
To build with Flutter, you use Google’s programming language, Dart . Dart is the official Flutter programming language that provides asynchronous programming using the Flutter Future class, and ensures improved application performance and responsiveness.22 Şub 2022
Read more