getActivity<T extends ActiveController> static method
Gets the current Controller based on the Activator and context.
Activity.getActivity<BaseController>(context).totalTaskLevels();
Implementation
static T getActivity<T extends ActiveController>(BuildContext context) {
final Activator<T> result = of(context);
return result.activeController();
}