File tree 2 files changed +9
-2
lines changed
2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -95,9 +95,16 @@ class _ZerkerRenderObjectWidget extends LeafRenderObjectWidget {
95
95
return RenderProxyBox (zerkerBox);
96
96
}
97
97
98
+ // @override
99
+ // void updateRenderObject(BuildContext context, RenderProxyBox renderProxyBox) {
100
+ // renderProxyBox.child = _ZerkerBox(app: app!, clip: clip ?? false);
101
+ // }
102
+
98
103
@override
99
104
void updateRenderObject (BuildContext context, RenderProxyBox renderProxyBox) {
100
- renderProxyBox.child = _ZerkerBox (app: app! , clip: clip ?? false );
105
+ final _ZerkerBox zerkerBox = renderProxyBox.child as _ZerkerBox ;
106
+ zerkerBox.updateApp (app! );
107
+ zerkerBox.updateClip (clip ?? false );
101
108
}
102
109
}
103
110
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ description: Zerker is a flexible and lightweight flutter canvas graphic animati
11
11
# In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
12
12
# Read more about iOS versioning at
13
13
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
14
- version : 2.7.5
14
+ version : 2.7.6
15
15
homepage : https://github.com/flutterkit/zerker
16
16
17
17
environment :
You can’t perform that action at this time.
0 commit comments