Skip to content

Commit

Permalink
Merge pull request #2 from codersangam/main
Browse files Browse the repository at this point in the history
fixed assets not found
  • Loading branch information
codersangam authored Jun 1, 2023
2 parents 0202d7f + e9e6c93 commit 0f61390
Show file tree
Hide file tree
Showing 8 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion .flutter-plugins
Original file line number Diff line number Diff line change
@@ -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/
2 changes: 1 addition & 1 deletion .flutter-plugins-dependencies
Original file line number Diff line number Diff line change
@@ -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"}
{"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"}
5 changes: 3 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
## 0.0.7
## 0.0.8

* Animation added to normal rating bar.
* Demo Modified.
* Demo Modified.
* Fixed Assets not found.
Binary file removed example/assets/rating_animation.riv
Binary file not shown.
14 changes: 7 additions & 7 deletions example/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ packages:
path: ".."
relative: true
source: path
version: "0.0.1"
version: "0.0.8"
async:
dependency: transitive
description:
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion lib/widgets/animated_rating_bar.dart
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ class _AnimatedRatingBarState extends State<AnimatedRatingBar> {
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,
Expand Down
7 changes: 3 additions & 4 deletions pubspec.yaml
Original file line number Diff line number Diff line change
@@ -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

Expand All @@ -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
Expand Down

0 comments on commit 0f61390

Please sign in to comment.