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

outdated

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
pub points
86%
popularity

Publisher

verified publisherhemanthraj.in

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