Skip to content

Commit 3c4c8a6

Browse files
committed
Update version, readme, changelog
1 parent 67080bb commit 3c4c8a6

File tree

3 files changed

+21
-4
lines changed

3 files changed

+21
-4
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
# Changelog
22
All notable changes to this project will be documented in this file.
33

4+
## [4.5.0] - 2023-01-31
5+
### Changed
6+
- include `ShaderEffect` in export by default
7+
- use `AnimatedSampler` from `flutter_shaders` package (versus copying it in)
8+
49
## [4.4.1] - 2023-01-26
510
### Changed
611
- improved documentation for extension methods

README.md

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,10 @@ effect in Flutter.
1111
1. Pre-built effects like fade, scale, slide, align, flip, blur, shake,
1212
shimmer, shadows, crossfades, follow path, and color effects (saturation,
1313
color, and tint)
14-
2. Easy custom effects and simplified animated builders
15-
3. Synchronize animations to scroll, notifiers, or anything
16-
4. Integrated events
14+
2. Apply animated GLSL fragment shaders to widgets
15+
3. Easy custom effects and simplified animated builders
16+
4. Synchronize animations to scroll, notifiers, or anything
17+
5. Integrated events
1718

1819
All via a simple, unified API without fussing with AnimationController and
1920
StatefulWidget.
@@ -273,6 +274,17 @@ text.animate().fadeOut(300.ms) // fade out & then...
273274
.swap(builder: (_, child) => child.animate().fadeIn())
274275
```
275276

277+
ShaderEffect
278+
----------------------------------------
279+
`ShaderEffect` makes it easy to apply animated GLSL fragment shaders to widgets.
280+
See the docs for details.
281+
282+
``` dart
283+
myWidget.animate()
284+
.shader(duration: 2.seconds, shader: myShader)
285+
.fadeIn(duration: 300.ms) // shader can be combined with other effects
286+
```
287+
276288

277289
Events & callbacks
278290
================================================================================

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: flutter_animate
22
description: Add beautiful animated effects & builders in Flutter, via an easy, customizable, unified API.
3-
version: 4.4.1
3+
version: 4.5.0
44
repository: https://github.com/gskinner/flutter_animate
55
issue_tracker: https://github.com/gskinner/flutter_animate/issues
66
topics:

0 commit comments

Comments
 (0)