# Adding a Plugin ## Creating a Project Run the following command to create a new project. ```sh flutter create [project_name] ``` ## Adding Files Add the `asreader_m24d_plugin` folder to your project. ```{image} ../media/add_lib.png :width: 500px :alt: flutter create example ```

## Editing pubspec.yaml ```yaml asreader_m24d_plugin: path: asreader_m24d_plugin ``` Modify `pubspec.yaml` as shown in the figure. ```{image} ../media/edit_pubspec.png :width: 500px :alt: edit pubspec.yml ```
## Installing the Package Run the following command to install the package. ```sh flutter pub get ```
```{image} ../media/pub_get.png :width: 500px :alt: flutter pub get ```
## Using the Plugin You need to import the header file into the project that will use the SDK. ```dart import 'package:asreader_m24d_plugin/asreader_m24d_plugin.dart'; ```