Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Import as Package #1

Closed
abegehr opened this issue Feb 28, 2022 · 5 comments
Closed

Import as Package #1

abegehr opened this issue Feb 28, 2022 · 5 comments

Comments

@abegehr
Copy link
Contributor

abegehr commented Feb 28, 2022

Thank you for building and publishing this package!
I'm unable to import any resources from the package after install in in pubspec.yaml.
The example references a non-package import: https://pub.dev/packages/dart_melty_soundfont#example
I'm looking for a package import like referenced here: https://dart.dev/guides/libraries/create-library-packages#importing-library-files

@chipweinberger
Copy link
Owner

chipweinberger commented Feb 28, 2022 via email

@chipweinberger
Copy link
Owner

pushed a change. pretty sure thats the issue. lmk.

@chipweinberger
Copy link
Owner

My example needs to have its import statements updated as well.

import 'package:dart_melty_soundfont/synthesizer.dart';
import 'package:dart_melty_soundfont/synthesizer_settings.dart';
import 'package:dart_melty_soundfont/audio_renderer_ex.dart';
import 'package:dart_melty_soundfont/array_int16.dart';

@chipweinberger
Copy link
Owner

should be all fixed now. lmk.

@abegehr
Copy link
Contributor Author

abegehr commented Mar 5, 2022

Awesome, thanks @chipweinberger. Importing works now 👍

@abegehr abegehr closed this as completed Mar 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants