varChangeHooks top-level property

List<void Function(String name)> varChangeHooks
final

@@@ Notification fired when a variable is rewritten by setvar (lets the UI sync the value back into an input field). _varCtl only does one-way sync from "input field → variable". Without this notify-back mechanism, when something like a WML

Implementation

final List<void Function(String name)> varChangeHooks =
    <void Function(String name)>[];