Index: sky/framework/fn.dart |
diff --git a/sky/framework/fn.dart b/sky/framework/fn.dart |
index e6983f78e2b0c21f060eeb12e0545a900c598150..974b7f5b277e6f76a1e8e01cb737735c7b3c8b1b 100644 |
--- a/sky/framework/fn.dart |
+++ b/sky/framework/fn.dart |
@@ -679,6 +679,10 @@ abstract class Component extends Node { |
_syncInternal(); |
} |
+ void scheduleBuild() { |
+ setState(() {}); |
+ } |
+ |
void setState(Function fn()) { |
assert(_vdom != null || _defunct); // cannot setState before mounting. |
_stateful = true; |