flutter_3d_obj 0.0.6
flutter_3d_obj: ^0.0.6 copied to clipboard

Flutter Android iOS Linux macOS Windows

A new flutter package to render wavefront obj files into a canvas.

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:flutter_3d_obj/flutter_3d_obj.dart';

void main() {
  runApp(new MyApp());
}

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return new MaterialApp(
      title: 'Flutter 3D Demo',
      home: new Scaffold(
        appBar: new AppBar(
          title: const Text("Flutter 3D"),
        ),
        body: new Center(
          child: new Object3D(
            size: const Size(400.0, 400.0),
            path: "assets/file.obj",
            asset: true,
          ),
        ),
      ),
    );
  }
}
13
likes
75
pub points
76%
popularity

Publisher

hemanthraj.in

A new flutter package to render wavefront obj files into a canvas.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD (LICENSE)

Dependencies

flutter, meta, vector_math

More

Packages that depend on flutter_3d_obj