Skip to content
This repository has been archived by the owner on Sep 26, 2024. It is now read-only.

Commit

Permalink
🚚 Improve package name consistency
Browse files Browse the repository at this point in the history
issue: #1
  • Loading branch information
tinyjin committed Mar 17, 2024
1 parent a6959d3 commit d96fa33
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,10 @@ There is a significant difference in memory usage profiles; typically, `lottie-t

## Usage

`lottie-thorvg` aims to maintain the same interface as `lottie-flutter`. If you are currently using them, you can utilize the code by simply replacing the import statement with `import 'package:lottie_thorvg/lottie.dart'`.
`lottie-thorvg` aims to maintain the same interface as `lottie-flutter`. If you are currently using them, you can utilize the code by simply replacing the import statement with `import 'package:lottie_thorvg/lottie_thorvg.dart'`.

```dart
import 'package:lottie_thorvg/lottie.dart';
import 'package:lottie_thorvg/lottie_thorvg.dart';
// ...
class MyApp extends StatelessWidget {
const MyApp({super.key});
Expand Down
3 changes: 1 addition & 2 deletions example/lib/main.dart
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import 'package:flutter/material.dart';
// import 'package:lottie/lottie.dart';
import 'package:lottie_thorvg/lottie.dart';
import 'package:lottie_thorvg/lottie_thorvg.dart';

void main() {
runApp(const MyApp());
Expand Down
1 change: 1 addition & 0 deletions lib/lottie_thorvg.dart
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export 'src/lottie.dart' show Lottie;
File renamed without changes.

0 comments on commit d96fa33

Please sign in to comment.