context property
A handle to the location of a widget in the widget tree.
Implementation
@protected
BuildContext get context {
assert(() {
if (_element == null) {
throw FlutterError('This widget has been unmounted');
}
return true;
}());
return _element!;
}