public override bool updateShouldNotify(InheritedWidget _old) { _FormScope old = _old as _FormScope; return(this._generation != old._generation); }
public static FormState of(BuildContext context) { _FormScope scope = (_FormScope)context.inheritFromWidgetOfExactType(typeof(_FormScope)); return(scope?._formState); }
public static FormState of(BuildContext context) { _FormScope scope = context.dependOnInheritedWidgetOfExactType <_FormScope>(); return(scope?._formState); }