From e9e6c93766adf260b49a70dfa46752a784b3753e Mon Sep 17 00:00:00 2001 From: Sangam Singh Date: Thu, 1 Jun 2023 09:26:50 +0400 Subject: [PATCH] fixed assets not found --- .flutter-plugins | 2 +- .flutter-plugins-dependencies | 2 +- CHANGELOG.md | 5 +++-- example/assets/rating_animation.riv | Bin 15639 -> 0 bytes example/pubspec.lock | 14 +++++++------- .../assets/new_rating_animation.riv | Bin lib/widgets/animated_rating_bar.dart | 2 +- pubspec.yaml | 7 +++---- 8 files changed, 16 insertions(+), 16 deletions(-) delete mode 100644 example/assets/rating_animation.riv rename {example => lib}/assets/new_rating_animation.riv (100%) 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 f15fe9b4eb15724e7b9ed41b91414f604ef3a93c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 15639 zcmeHOYm8OZ72fAEmr(?Uq1MhNbRZgPTc8v#6AS9hof!~FZJR)$sckbEVaA#&;tW=3 zqf9kbLeTiamWPHvO{JO^A3wA&W(J=XTCG;AR)i3n{%E2}>yP@Qbggf%z1BYG+&hdy zEm}$Lo%QXv6 z9F-2%jsJ4bHPhSs)?IRCci(DPs4FgC*WK4&bd#vIt&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zNDM19E`X*YA zPBLz`h`h|vt@llZMK4?4Llpu?xJ%ws?z?za3U|495$DRi%d8O4QNW#8t~xp$vh?}LnJ*upoQ~E14`r!L|Ii%Hbt`hD~dSX+5u=3 ztwP>~_gUAgk_4MOeQMR?4Ojk!D-rs9;GJJ`U-XCE3PwNWwzbEnYO4Bh^lB5p;xW82Isix= zKq!CjQM+xNSPnA#C_x;wr5{yzkVJtTYecd9d_x8y#~O`-Xh_Ga$KL<5DdK76c;BTw z9q-8`+CmyZd*33i^oeCODf!*mHEgM1RG$G@#9K;Qq)Eg}$`ZtA!}UH7Q;)nnBAu_n z^IWLz6JWE~Xf@3b&f7L}wUPzT3(5ItIHh_INabUgy9N zM~8WX9<>8l&gI7r;N#U}^NlI!WEfKtf#<`2HaRh(mzn_wIdh{b*=qeqA`4E+0@+x18HR|Jia~&-5>Kuln|7YkH>7bzj(= zj9u2f?y@zPy7`-v`ir_Z^z>2j1zVHEwYv5nC1c%% { 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