model_viewer_pro 2.0.4
model_viewer_pro: ^2.0.4 copied to clipboard
Display & control interactive 3D models (GLB/GLTF) in Flutter. Change mesh colors, toggle visibility, control camera, lighting, & grounded scenes. Built on model_viewer_plus.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add model_viewer_proThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
model_viewer_pro: ^2.0.4Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:model_viewer_pro/model_viewer_pro.dart';