context property

BuildContext get context

Implementation

static BuildContext get context {
  if (_context == null) {
    throw StateError(
      'Context not initialized. Make sure ResponsiveScreenInitializer is used.',
    );
  }
  return _context!;
}