Skip to content
pubscout

flutter_3d_controller

2.3.0, released a year ago by mobilesoft98.dev

Renders interactive 3D models in GLB, GLTF, OBJ, and FBX formats.

$ flutter pub add flutter_3d_controller
Source repository

What it does

Renders interactive 3D models in various formats such as GLB, GLTF, and OBJ inside Flutter applications. Provides a controller to manage animations, textures, camera targets, camera orbits, and rotation speed.

AI-written summary of version 2.3.0, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need to display interactive 3D models in GLB, GLTF, or OBJ formats.
  • You need programmatic control over 3D model animations, textures, and camera positioning.

Skip it when

  • You require complex 3D game engines or advanced physics simulations.
  • You are working on platforms other than Android, iOS, Web, and macOS.

Strengths

  • Supports multiple 3D formats including GLB, GLTF, and OBJ.
  • Includes a gesture interceptor feature to prevent gesture conflicts on mobile devices.
  • Provides a robust controller for managing animations, textures, and camera orbits.

Weaknesses

  • macOS support is currently in beta.
  • Relies on external platform configurations like internet permissions and web script imports.

Setup

Kind
Flutter widgets
Effort
Medium
Code generation
No
Direct dependencies
4

Requires adding internet permissions and build configuration for Android, embedded views preview on iOS, a script tag in web/index.html, and Outgoing Connections capability on macOS.

Flutter3DViewer(
    controller: Flutter3DController(),
    src: 'assets/business_man.glb',
)

Alternatives

Packages that do the same job and could replace flutter_3d_controller.

Works with

Packages commonly used together with flutter_3d_controller: ones it builds on, ones built on it, and its own family.