ar_flutter_plugin_updated 0.0.1 ar_flutter_plugin_updated: ^0.0.1 copied to clipboard
This plugin is a fork of the original AR Flutter Plugin, created because the original plugin had not been updated since 2022.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add ar_flutter_plugin_updated
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
ar_flutter_plugin_updated: ^0.0.1
Alternatively, your editor might support flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:ar_flutter_plugin_updated/ar_flutter_plugin.dart';
import 'package:ar_flutter_plugin_updated/datatypes/anchor_types.dart';
import 'package:ar_flutter_plugin_updated/datatypes/config_planedetection.dart';
import 'package:ar_flutter_plugin_updated/datatypes/hittest_result_types.dart';
import 'package:ar_flutter_plugin_updated/datatypes/node_types.dart';
import 'package:ar_flutter_plugin_updated/managers/ar_anchor_manager.dart';
import 'package:ar_flutter_plugin_updated/managers/ar_location_manager.dart';
import 'package:ar_flutter_plugin_updated/managers/ar_object_manager.dart';
import 'package:ar_flutter_plugin_updated/managers/ar_session_manager.dart';
import 'package:ar_flutter_plugin_updated/models/ar_anchor.dart';
import 'package:ar_flutter_plugin_updated/models/ar_hittest_result.dart';
import 'package:ar_flutter_plugin_updated/models/ar_node.dart';
import 'package:ar_flutter_plugin_updated/utils/json_converters.dart';
import 'package:ar_flutter_plugin_updated/widgets/ar_view.dart';