THI AR Flutter Widget

Augumented Reality flutter plugin for THI Product Augumented Reality Experience. This was implemented with ar_flutter_plugin. It has been tested only on Android so far.



Due to this issue flutter/flutter#103630, you have to use this plugin in the lastest beta version of flutter. This woundn’t be required in the next stable version of flutter.

Make sure your compileSdkVersion version is set to 33 in your android/app/build.gradle file.

    android {
        compileSdkVersion 33
        // .....

Also set the minSdkVersion to 24 in your android/app/build.gradle file.

    android {
        defaultConfig {
            minSdkVersion 24
            // ....

You can then install the plugin by adding it to your dependencies in your pubspec.yaml file.



class MyApp extends StatelessWidget {
  const MyApp({super.key});

  Widget build(BuildContext context) {
    return THIARViewerWidget(
        jwtToken: "__VALID_JWT_TOKEN__",
        modelId: "__VALID_MODEL_ID__"


View Github