Skip to content

Commit

Permalink
Update version, readme, changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
gskinner committed Jan 31, 2024
1 parent 67080bb commit 3c4c8a6
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 4 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
# Changelog
All notable changes to this project will be documented in this file.

## [4.5.0] - 2023-01-31
### Changed
- include `ShaderEffect` in export by default
- use `AnimatedSampler` from `flutter_shaders` package (versus copying it in)

## [4.4.1] - 2023-01-26
### Changed
- improved documentation for extension methods
Expand Down
18 changes: 15 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,10 @@ effect in Flutter.
1. Pre-built effects like fade, scale, slide, align, flip, blur, shake,
shimmer, shadows, crossfades, follow path, and color effects (saturation,
color, and tint)
2. Easy custom effects and simplified animated builders
3. Synchronize animations to scroll, notifiers, or anything
4. Integrated events
2. Apply animated GLSL fragment shaders to widgets
3. Easy custom effects and simplified animated builders
4. Synchronize animations to scroll, notifiers, or anything
5. Integrated events

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

ShaderEffect
----------------------------------------
`ShaderEffect` makes it easy to apply animated GLSL fragment shaders to widgets.
See the docs for details.

``` dart
myWidget.animate()
.shader(duration: 2.seconds, shader: myShader)
.fadeIn(duration: 300.ms) // shader can be combined with other effects
```


Events & callbacks
================================================================================
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: flutter_animate
description: Add beautiful animated effects & builders in Flutter, via an easy, customizable, unified API.
version: 4.4.1
version: 4.5.0
repository: https://github.com/gskinner/flutter_animate
issue_tracker: https://github.com/gskinner/flutter_animate/issues
topics:
Expand Down

0 comments on commit 3c4c8a6

Please sign in to comment.