context property

BuildContext get context

Implementation

BuildContext get context {
  if (_i._context != null) {
    return _i._context!;
  } else {
    throw Exception("Instance deactivated");
  }
}