context property

BuildContext get context

Implementation

BuildContext get context {
  assert(() {
    if (!isMounted) {
      throw FlutterError('This widget has been unmounted');
    }
    return true;
  }());
  return _context!;
}