0 purchases
deepar shoe try on flutter
DeepAR Shoe Try-On Flutter Plugin #
The official DeepAR plugin for integrating AR Shoe Try-On with Flutter.
Getting Started #
In the pubspec.yaml of your flutter project, add the following dependency:
dependencies:
...
deepar_shoe_try_on_flutter: ^1.0.1-beta
copied to clipboard
Import it:
import 'package:deepar_shoe_try_on_flutter/deepar_shoe_try_on_flutter.dart';
copied to clipboard
Add camera permissions to your iOS and/or Android app.
Usage #
Add DeepARShoeTryOnPreview widget to your app.
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(title: const Text('Flutter Simple Example')),
body: DeepARShoeTryOnPreview(link: Uri.parse("https://demo.deepar.ai/flutter/shoe/nike-airforce1.deepar")),
);
}
copied to clipboard
Android Platform Views #
This plugin uses
Platform Views.
You should however make sure to set the correct minSdkVersion in android/app/build.gradle if it was previously lower than 19:
android {
defaultConfig {
minSdkVersion 19
}
}
copied to clipboard
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.