SyntaxFix
Write A Post
Hire A Developer
Questions
Old one but I would add my answer as per my findings:
var ancestralState = context.findAncestorStateOfType<ParentState>(); ancestralState.setState(() { // here you can access public vars and update state. ... });