watchFocusNode method
Implementation
void watchFocusNode(FocusNode focusNode) {
var updateState = () => safeState(() {});
focusNode.addListener(updateState);
disposers.add(() {
focusNode.removeListener(updateState);
});
}
void watchFocusNode(FocusNode focusNode) {
var updateState = () => safeState(() {});
focusNode.addListener(updateState);
disposers.add(() {
focusNode.removeListener(updateState);
});
}