public override bool updateShouldNotify(InheritedWidget old) { _TabControllerScope _old = (_TabControllerScope)old; return(enabled != _old.enabled || controller != _old.controller); }
public static TabController of(BuildContext context) { _TabControllerScope scope = (_TabControllerScope)context.inheritFromWidgetOfExactType(typeof(_TabControllerScope)); return(scope?.controller); }
public static TabController of(BuildContext context) { _TabControllerScope scope = context.dependOnInheritedWidgetOfExactType <_TabControllerScope>(); return(scope?.controller); }