gltf_loader 0.4.1
gltf_loader: ^0.4.1 copied to clipboard
Pure dart glTF 2.0 Specification loader utility with dynamic asset loading
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add gltf_loader
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
gltf_loader: ^0.4.1
Alternatively, 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:gltf_loader/gltf_loader.dart';