flutter_3d_obj 0.0.6 copy "flutter_3d_obj: ^0.0.6" to clipboard
flutter_3d_obj: ^0.0.6 copied to clipboard

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,
          ),
        ),
      ),
    );
  }
}
26
likes
35
points
44
downloads

Publisher

verified publisherhemanthraj.in

Weekly Downloads

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

Repository (GitHub)
View/report issues

License

BSD-2-Clause (license)

Dependencies

flutter, meta, vector_math

More

Packages that depend on flutter_3d_obj