diff --git a/.flutter-plugins b/.flutter-plugins index 09c6423..b0e7af4 100644 --- a/.flutter-plugins +++ b/.flutter-plugins @@ -1,2 +1,2 @@ # This is a generated file; do not edit or check into version control. -rive_common=/Users/advanceofficepc3/.pub-cache/hosted/pub.dev/rive_common-0.0.7/ +rive_common=/Users/advanceofficepc3/.pub-cache/hosted/pub.dev/rive_common-0.0.9/ diff --git a/.flutter-plugins-dependencies b/.flutter-plugins-dependencies index ee6fe23..c11cac8 100644 --- a/.flutter-plugins-dependencies +++ b/.flutter-plugins-dependencies @@ -1 +1 @@ -{"info":"This is a generated file; do not edit or check into version control.","plugins":{"ios":[{"name":"rive_common","path":"/Users/advanceofficepc3/.pub-cache/hosted/pub.dev/rive_common-0.0.7/","native_build":true,"dependencies":[]}],"android":[{"name":"rive_common","path":"/Users/advanceofficepc3/.pub-cache/hosted/pub.dev/rive_common-0.0.7/","native_build":true,"dependencies":[]}],"macos":[{"name":"rive_common","path":"/Users/advanceofficepc3/.pub-cache/hosted/pub.dev/rive_common-0.0.7/","native_build":true,"dependencies":[]}],"linux":[],"windows":[{"name":"rive_common","path":"/Users/advanceofficepc3/.pub-cache/hosted/pub.dev/rive_common-0.0.7/","native_build":true,"dependencies":[]}],"web":[{"name":"rive_common","path":"/Users/advanceofficepc3/.pub-cache/hosted/pub.dev/rive_common-0.0.7/","dependencies":[]}]},"dependencyGraph":[{"name":"rive_common","dependencies":[]}],"date_created":"2023-05-25 09:27:29.088134","version":"3.10.0"} \ No newline at end of file +{"info":"This is a generated file; do not edit or check into version control.","plugins":{"ios":[{"name":"rive_common","path":"/Users/advanceofficepc3/.pub-cache/hosted/pub.dev/rive_common-0.0.9/","native_build":true,"dependencies":[]}],"android":[{"name":"rive_common","path":"/Users/advanceofficepc3/.pub-cache/hosted/pub.dev/rive_common-0.0.9/","native_build":true,"dependencies":[]}],"macos":[{"name":"rive_common","path":"/Users/advanceofficepc3/.pub-cache/hosted/pub.dev/rive_common-0.0.9/","native_build":true,"dependencies":[]}],"linux":[],"windows":[{"name":"rive_common","path":"/Users/advanceofficepc3/.pub-cache/hosted/pub.dev/rive_common-0.0.9/","native_build":true,"dependencies":[]}],"web":[{"name":"rive_common","path":"/Users/advanceofficepc3/.pub-cache/hosted/pub.dev/rive_common-0.0.9/","dependencies":[]}]},"dependencyGraph":[{"name":"rive_common","dependencies":[]}],"date_created":"2023-06-01 09:25:06.859477","version":"3.10.0"} \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 6d5d0a2..da1f84f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,5 @@ -## 0.0.7 +## 0.0.8 * Animation added to normal rating bar. -* Demo Modified. \ No newline at end of file +* Demo Modified. +* Fixed Assets not found. \ No newline at end of file diff --git a/example/assets/rating_animation.riv b/example/assets/rating_animation.riv deleted file mode 100644 index f15fe9b..0000000 Binary files a/example/assets/rating_animation.riv and /dev/null differ diff --git a/example/pubspec.lock b/example/pubspec.lock index 7f97bae..cbb8482 100644 --- a/example/pubspec.lock +++ b/example/pubspec.lock @@ -7,7 +7,7 @@ packages: path: ".." relative: true source: path - version: "0.0.1" + version: "0.0.8" async: dependency: transitive description: @@ -99,10 +99,10 @@ packages: dependency: transitive description: name: graphs - sha256: "772db3d53d23361d4ffcf5a9bb091cf3ee9b22f2be52cd107cd7a2683a89ba0e" + sha256: aedc5a15e78fc65a6e23bcd927f24c64dd995062bcd1ca6eda65a3cff92a4d19 url: "https://pub.dev" source: hosted - version: "2.3.0" + version: "2.3.1" http: dependency: transitive description: @@ -179,18 +179,18 @@ packages: dependency: transitive description: name: rive - sha256: "8bf4cd46f625a6b9816210145ba1201a23cf95ba1ae53dad3aa3e0ad193e6b4a" + sha256: bb7a16bc6a88484fe3136890030b71776ffea368edd2a8368fe99d6430e4a802 url: "https://pub.dev" source: hosted - version: "0.11.1" + version: "0.11.2" rive_common: dependency: transitive description: name: rive_common - sha256: "7153f296a9d58d1b02aaffaad938f65a92d820f8420c6c69134ecb2ed710f638" + sha256: "5a0dbf689527c51ee5430608181d81460c9c45ab6cc3bd52dd9bbb3d8c4455b6" url: "https://pub.dev" source: hosted - version: "0.0.7" + version: "0.0.9" sky_engine: dependency: transitive description: flutter diff --git a/example/assets/new_rating_animation.riv b/lib/assets/new_rating_animation.riv similarity index 100% rename from example/assets/new_rating_animation.riv rename to lib/assets/new_rating_animation.riv diff --git a/lib/widgets/animated_rating_bar.dart b/lib/widgets/animated_rating_bar.dart index e452b84..08544d7 100644 --- a/lib/widgets/animated_rating_bar.dart +++ b/lib/widgets/animated_rating_bar.dart @@ -74,7 +74,7 @@ class _AnimatedRatingBarState extends State { height: widget.height ?? 40, width: widget.width ?? 140, child: RiveAnimation.asset( - "assets/new_rating_animation.riv", + "packages/animated_rating_bar/assets/new_rating_animation.riv", onInit: (artboard) { stateMachineController = StateMachineController.fromArtboard( artboard, diff --git a/pubspec.yaml b/pubspec.yaml index e8c20f8..8f555a6 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: animated_rating_bar description: Animated Rating Bar can be used for rating which enhaces User Experince by displaying beautiful animation like glows and sparks. -version: 0.0.7 +version: 0.0.8 repository: https://github.com/codersangam/animated_rating_bar examples: https://github.com/codersangam/animated_rating_bar/tree/main/example @@ -23,10 +23,9 @@ dev_dependencies: # The following section is specific to Flutter packages. flutter: - # To add assets to your package, add an assets section, like this: - # assets: - # - images/a_dot_burr.jpeg + assets: + - packages/animated_rating_bar/assets/new_rating_animation.riv # - images/a_dot_ham.jpeg # # For details regarding assets in packages, see