wasabia / flutter_gl

cross-platform call OpenGL API by Dart through dart:ffi. Provides OpenGL with Texture Widget on Flutter.
245 stars 60 forks source link

Example failing with v0.0.16 #25

Closed rorySomething closed 2 years ago

rorySomething commented 2 years ago

Hello, I'm barely getting started...

Trying to use the example triangle code I'm getting errors with FlutterGlPlatform.

Error: The method 'initialize_interface' isn't defined for the class 'FlutterGlPlatform'. As if it's not seeing anything in flutter_gl_platform_interface-0.0.3/lib/method_channel_flutter_gl.dart.

I'm an absolute beginner with Flutter so I haven't figured out how to try to force the import.

e.g. Adding import package:flutter_gl_platform_interface/method_channel_flutter_gl.dart'; did me no good

wasabia commented 2 years ago

try 0.0.17

wasabia commented 2 years ago

0.0.18 😄

rorySomething commented 2 years ago

Excellent, thank you!

After some fiddling with the AndroidManifest it's running.

I hope I can give you useful pushes later as I get building.