Closed Aqudi closed 3 months ago
@Aqudi Thanks for reaching out to the project.
The purpose of the naming was to align the import statement with lottie-flutter
as much as possible.
However, I have overlooked the proper package standard. I fully agree with the guidelines and will ensure that this is corrected in next release. The import statement will be import 'package:lottie_thorvg/lottie_thorvg.dart';
Thank you.
Hey there! 👋
The Dart document (https://dart.dev/guides/libraries/create-library-packages) recommends that the main library file for a package should be named
lib/<package-name>.dart
. However, the current entry point file for the lottie-thorvg package is namedlottiel.dart
, which deviates from the recommended naming convention.For consistency with the guidelines and better discoverability, it might be worth considering renaming the
lottiel.dart
file tolottie-thorvg.dart
.Thank you!