Skip to content

Commit 130e9a8

Browse files
committed
feat: add blendMode method
1 parent 44e7d9b commit 130e9a8

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

lib/src/node/node.dart

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,10 @@ class ZKNode {
8787
this.paint.colorFilter = filter;
8888
}
8989

90+
set blendMode(BlendMode mode) {
91+
this.paint.blendMode = mode;
92+
}
93+
9094
BlendMode? colorFilterBlendMode;
9195

9296
set color(Color? c) {

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ description: Zerker is a flexible and lightweight flutter canvas graphic animati
1111
# In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
1212
# Read more about iOS versioning at
1313
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
14-
version: 2.1.0
14+
version: 2.1.1
1515
homepage: https://github.com/flutterkit/zerker
1616

1717
environment:

0 commit comments

Comments
 (0)