localeForSubtree property
The Locale for the semantics subtree.
Setting this to null will inherit locale from ancestor semantics node.
Implementation
Locale? get localeForSubtree => _localeForSubtree;
Implementation
set localeForSubtree(Locale? value) {
if (_localeForSubtree == value) {
return;
}
_localeForSubtree = value;
markNeedsSemanticsUpdate();
}