ar_widget

Last updated:

0 purchases

ar_widget Image
ar_widget Images
Add to Cart

Description:

ar widget

🚀Getting Started #
iOS #

/ios/Runner/Info.plist

<plist ...>
<dict>
...
<!-- ADD THIS -->
<key>NSCameraUsageDescription</key>
<string>For AR</string>
</dict>
</plist>
copied to clipboard
Android #

Not yet supported.




🗒Usage #
ARWidget #

main.dart


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),
),
),
);
}
}

copied to clipboard

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.