🚀Getting Started
iOS
<plist ...>
<dict>
...
<!-- ADD THIS -->
<key>NSCameraUsageDescription</key>
<string>For AR</string>
</dict>
</plist>
Android
🗒Usage
import 'package:flutter/material.dart';
import 'package:ar_widget/ar_widget.dart';
void main() => runApp(const MyApp());
class MyApp extends StatelessWidget {
const MyApp({super.key});
@override
Widget build(BuildContext context) {
return MaterialApp(
home: Scaffold(
//
// --- use ARWidget ---
//
body: ARWidget(
canvasWidth: 400,
canvasHeight: 600,
child: Container(color: Colors.orange),
),
),
);
}
}