context property

BuildContext? get context

BuildContext objects are actually Element objects. The BuildContext interface is used to discourage direct manipulation of Element objects.

Implementation

BuildContext? get context => _context;