ios_roomplan
0.2.2, released 3 weeks ago by goldeneagle.ai
iOS RoomPlan plugin for single/multi-room scans, 2D plans and 3D models.
What it does
It is an iOS-only Flutter plugin that integrates Apple's RoomPlan framework to scan single or connected rooms. It captures room geometry, exports 2D floor-plan PDFs and 3D USDZ models, and exposes structured scan data.
AI-written summary of version 0.2.2, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need to scan rooms and generate 2D floor-plan PDFs or 3D USDZ models on iOS.
- Your target iOS devices feature a LiDAR scanner and support RoomPlan.
Skip it when
- You need support for Android, web, or desktop platforms.
- Target devices do not have a LiDAR scanner or run iOS versions prior to 16.
Strengths
- Enables native Apple RoomPlan single and multi-room scanning in Flutter.
- Exports both 2D PDFs and 3D USDZ models along with structured scan data.
- Includes built-in scanning pages, model viewers, file sharing, and persistent scan libraries.
Weaknesses
- Restricted to iOS only due to native RoomPlan framework requirements.
- Requires physical devices with LiDAR hardware (such as iPhone Pro or iPad Pro models); does not work in the simulator.
Setup
- Kind
- Plugin (native code)
- Effort
- Medium
- Code generation
- No
- Direct dependencies
- 5
Requires setting the iOS deployment target to 16.0 or later and adding a camera usage description (NSCameraUsageDescription) to Info.plist.
Future<void> scanRoom(BuildContext context) async {
final result = await Navigator.of(context).push<FloorRoomScanResult>(
MaterialPageRoute(
builder: (_) => const FloorRoomScanPage(initialName: 'Living room'),
),
);
if (!context.mounted || result == null) return;
debugPrint('Room: ${result.name}');
debugPrint('2D plan: ${result.pdfFile.path}');
debugPrint('3D model: ${result.modelFile.path}');
}Works with
Packages commonly used together with ios_roomplan: ones it builds on, ones built on it, and its own family.
- vector_mathios_roomplan depends on itVector math library for 2D/3D/4D vectors, matrices, quaternions, and geometry.
- path_providerios_roomplan depends on itProvides Flutter APIs to locate common filesystem directories on Android, iOS, macOS, Linux and Windows.
- shared_preferencesios_roomplan depends on itFlutter plugin for reading and writing simple key-value pairs. Wraps NSUserDefaults on iOS and SharedPreferences on Android.
- wakelock_plusios_roomplan depends on itKeep the device screen awake across mobile, desktop, and web platforms.
- pdfios_roomplan depends on itA PDF generation library for Dart and Flutter using a widget-like layout system.