interactive_3d
2.5.0, released 4 weeks ago by adnanflutter.dev
Renders interactive 3D models in glTF or glb format using native render engines.
What it does
A Flutter plugin that renders and interacts with 3D models using Google Filament on Android and SceneKit on iOS. Supports model rotation, zooming, tapping parts for selection, runtime material and texture changes, and camera controls.
AI-written summary of version 2.5.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need to display 3D models (.glb or .gltf) in your Flutter app on Android and iOS.
- Users need to tap specific parts of a 3D model, change their colors, or apply runtime textures.
- You require camera controls like resetting the view or programmatically adjusting zoom levels.
Skip it when
- You need a cross-platform 3D engine that works on web or desktop (this package only supports Android and iOS).
- You are building a complex 3D game engine rather than a model viewer.
Strengths
- Native rendering performance via Google Filament on Android and SceneKit on iOS.
- Rich interaction features including part selection, sequence rules, caching, and visibility toggling.
- Supports runtime PBR material overrides and dynamic base color texture uploads.
Weaknesses
- Limited platform support strictly restricted to Android and iOS.
- Requires platform-specific configuration and asset handling for IBL/skybox and multi-file .gltf assets.
Setup
- Kind
- Plugin (native code)
- Effort
- Medium
- Code generation
- No
- Direct dependencies
- 2
Requires declaring model assets in pubspec.yaml and meeting minimum OS/Flutter requirements (Flutter >= 3.44.0). Android uses API 24+ and iOS setup depends on the Flutter version.
Interactive3d(
modelPath: 'assets/models/heart.glb',
defaultZoom: 2,
selectionColor: const [0.0, 0.6, 1.0, 1.0],
onSelectionChanged: (parts) {},
)Alternatives
Packages that do the same job and could replace interactive_3d.
- flutter_3d_controller
Renders interactive 3D models in GLB, GLTF, OBJ, and FBX formats.
56Compare - tap_builder
A simple widget for building interactive areas with customizable visual effects.
50Compare
Works with
Packages commonly used together with interactive_3d: ones it builds on, ones built on it, and its own family.