From 65f78ee042a111b28c9d464fc9dd479f7cb8be2d Mon Sep 17 00:00:00 2001 From: hunghd Date: Sun, 5 Apr 2020 11:44:20 +0700 Subject: [PATCH] release v1.1.1 --- CHANGELOG.md | 4 + lib/shimmer.dart | 3 +- pubspec.lock | 188 ----------------------------------------------- pubspec.yaml | 6 +- 4 files changed, 10 insertions(+), 191 deletions(-) delete mode 100644 pubspec.lock diff --git a/CHANGELOG.md b/CHANGELOG.md index 56938a1..eb4bb1a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## [1.1.1] - 2020-04-05 + +* support dynamic `Gradient` according to the application's `Theme` + ## [1.1.0] - 2020-03-01 * improved by using `ShaderMaskLayer` diff --git a/lib/shimmer.dart b/lib/shimmer.dart index 46012b2..7769d0a 100644 --- a/lib/shimmer.dart +++ b/lib/shimmer.dart @@ -205,8 +205,9 @@ class _Shimmer extends SingleChildRenderObjectWidget { } class _ShimmerFilter extends RenderProxyBox { - Gradient _gradient; final ShimmerDirection _direction; + + Gradient _gradient; double _percent; _ShimmerFilter(this._percent, this._direction, this._gradient); diff --git a/pubspec.lock b/pubspec.lock deleted file mode 100644 index 67a7df1..0000000 --- a/pubspec.lock +++ /dev/null @@ -1,188 +0,0 @@ -# Generated by pub -# See https://dart.dev/tools/pub/glossary#lockfile -packages: - archive: - dependency: transitive - description: - name: archive - url: "https://pub.dartlang.org" - source: hosted - version: "2.0.11" - args: - dependency: transitive - description: - name: args - url: "https://pub.dartlang.org" - source: hosted - version: "1.5.2" - async: - dependency: transitive - description: - name: async - url: "https://pub.dartlang.org" - source: hosted - version: "2.4.0" - boolean_selector: - dependency: transitive - description: - name: boolean_selector - url: "https://pub.dartlang.org" - source: hosted - version: "1.0.5" - charcode: - dependency: transitive - description: - name: charcode - url: "https://pub.dartlang.org" - source: hosted - version: "1.1.2" - collection: - dependency: transitive - description: - name: collection - url: "https://pub.dartlang.org" - source: hosted - version: "1.14.11" - convert: - dependency: transitive - description: - name: convert - url: "https://pub.dartlang.org" - source: hosted - version: "2.1.1" - crypto: - dependency: transitive - description: - name: crypto - url: "https://pub.dartlang.org" - source: hosted - version: "2.1.3" - flutter: - dependency: "direct main" - description: flutter - source: sdk - version: "0.0.0" - flutter_test: - dependency: "direct dev" - description: flutter - source: sdk - version: "0.0.0" - image: - dependency: transitive - description: - name: image - url: "https://pub.dartlang.org" - source: hosted - version: "2.1.4" - matcher: - dependency: transitive - description: - name: matcher - url: "https://pub.dartlang.org" - source: hosted - version: "0.12.6" - meta: - dependency: transitive - description: - name: meta - url: "https://pub.dartlang.org" - source: hosted - version: "1.1.8" - path: - dependency: transitive - description: - name: path - url: "https://pub.dartlang.org" - source: hosted - version: "1.6.4" - pedantic: - dependency: transitive - description: - name: pedantic - url: "https://pub.dartlang.org" - source: hosted - version: "1.8.0+1" - petitparser: - dependency: transitive - description: - name: petitparser - url: "https://pub.dartlang.org" - source: hosted - version: "2.4.0" - quiver: - dependency: transitive - description: - name: quiver - url: "https://pub.dartlang.org" - source: hosted - version: "2.0.5" - sky_engine: - dependency: transitive - description: flutter - source: sdk - version: "0.0.99" - source_span: - dependency: transitive - description: - name: source_span - url: "https://pub.dartlang.org" - source: hosted - version: "1.5.5" - stack_trace: - dependency: transitive - description: - name: stack_trace - url: "https://pub.dartlang.org" - source: hosted - version: "1.9.3" - stream_channel: - dependency: transitive - description: - name: stream_channel - url: "https://pub.dartlang.org" - source: hosted - version: "2.0.0" - string_scanner: - dependency: transitive - description: - name: string_scanner - url: "https://pub.dartlang.org" - source: hosted - version: "1.0.5" - term_glyph: - dependency: transitive - description: - name: term_glyph - url: "https://pub.dartlang.org" - source: hosted - version: "1.1.0" - test_api: - dependency: transitive - description: - name: test_api - url: "https://pub.dartlang.org" - source: hosted - version: "0.2.11" - typed_data: - dependency: transitive - description: - name: typed_data - url: "https://pub.dartlang.org" - source: hosted - version: "1.1.6" - vector_math: - dependency: transitive - description: - name: vector_math - url: "https://pub.dartlang.org" - source: hosted - version: "2.0.8" - xml: - dependency: transitive - description: - name: xml - url: "https://pub.dartlang.org" - source: hosted - version: "3.5.0" -sdks: - dart: ">=2.4.0 <3.0.0" diff --git a/pubspec.yaml b/pubspec.yaml index 92011c6..b0b119a 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,11 +1,13 @@ name: shimmer description: A package provides an easy way to add shimmer effect in Flutter project -version: 1.1.0 +version: 1.1.1 author: Hung Duy Ha -contributors: Gregor Weber +contributors: Gregor Weber , Vasilliy Ditsyask homepage: https://github.com/hnvn/flutter_shimmer + environment: sdk: '>=1.20.1 <3.0.0' + flutter: ^1.9.1 dependencies: flutter: