A flutter package to render wavefront obj files on a canvas.
To use this package, add flutter_3d_obj to your pubspec.yaml file. Then import the package to use it.
The following example basic usage of package.
... child: new Object3D(size:'/size of canvas/', path:'/path of file/', asset: true'/set true to load file from assets/'), ...
If SD-card path provided, ensure SD-card permissions are available.
To run the example.
* git clone https://github.com/hemanthrajv/flutter_3d_obj.git * cd /path to cloned dir/ * cd example * flutter run
Hemanth Raj StackOverflow
For help getting started with Flutter, view online documentation.
A new Flutter project.
For help getting started with Flutter, view our online documentation.
Add this to your package's pubspec.yaml file:
dependencies: flutter_3d_obj: ^0.0.6
You can install packages from the command line:
$ flutter pub get
Alternatively, your editor might support
flutter pub get.
Check the docs for your editor to learn more.
Now in your Dart code, you can use:
Describes how popular the package is relative to other packages. [more]
Code health derived from static analysis. [more]
Reflects how tidy and up-to-date the package is. [more]
Weighted score of the above. [more]
We analyzed this package on Aug 21, 2019, and provided a score, details, and suggestions below. Analysis was completed with status completed using:
Detected platforms: Flutter
References Flutter, and has no conflicting libraries.
lib/flutter_3d_obj.dart. (-1 points)
lib/flutter_3d_obj.dart reported 2 hints:
line 133 col 10: The value of the field '_translation' isn't used.
line 293 col 9: The value of the local variable 'z' isn't used.
Support latest dependencies. (-10 points)
The version constraint in
pubspec.yaml does not support the latest published versions for 1 dependency (
Package is pre-v0.1 release. (-10 points)
While nothing is inherently wrong with versions of
0.0.*, it might mean that the author is still experimenting with the general direction of the API.