Test project for rendering native Metal graphics displayed within the Flutter Texture Widget. Renders a simple animated cube to a metal texture, which is then registered to the Flutter Texture registry. Each time the contents of the texture are updated, the Flutter Texture Widget is notified and updated.
Screenflick.Movie.71.mp4
Works on macOS and iOS targets.
flutter pub get
flutter run
As of current moment, with Flutter 3.7.1 there is noticeable jank with the Flutter Texture Widget. Updating to the master branch fixed this issue.