glbview 0.2.0
glbview: ^0.2.0 copied to clipboard
Native GLB (binary glTF 2.0) viewer rendered with OpenGL ES on Android and Metal on iOS, shown through a Flutter Texture.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add glbviewWith Flutter:
$ flutter pub add glbviewThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
glbview: ^0.2.0Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:glbview/glbview.dart';