three_d_viewer 0.1.2
three_d_viewer: ^0.1.2 copied to clipboard
A high-performance Flutter package for viewing 3D models (GLB/GLTF) with support for animations, camera controls, custom textures, and AR using Three.js.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add three_d_viewerWith Flutter:
$ flutter pub add three_d_viewerThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
three_d_viewer: ^0.1.2Alternatively, 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:three_d_viewer/three_d_viewer.dart';