context property

  1. @protected
BuildContext get context
inherited

The context contains information about the location in the tree at which the associated widget is being built.

This context get defined within build method.

This is a shorthand for viewModel.context.

Implementation

@protected
BuildContext get context => viewModel.context;