1. Call ‘fn’ callback.
(The ‘result’ is only for checking if the return of ‘fn’ callback is the Future)
2. Set the Element to dirty status.
3. Add the Element to BuildOwner’s _dirtyElements list.
4. Set the Element’s _inDirtyList to ‘true’.

framework.dart

--

--