1. Adding the Plugin¶
1.1. Project Creation¶
Run the following command to create a new project:
flutter create [project_name]
1.2. Adding Files¶
Add the a3xd_plugin folder to your project.
1.3. Editing pubspec.yaml¶
Modify pubspec.yaml as shown:
a3xd_plugin:
path: a3xd_plugin
1.4. Installing the Package¶
Run the following command to install the package:
flutter pub get
1.5. Using the Plugin¶
You need to import the header file into the project where you intend to use the plugin.
import 'package:a3xd_plugin/a3xd_plugin.dart';