attach method

void attach(
  1. BuildContext context
)

easy to get context

Implementation

void attach(BuildContext context) {
  _context = context;
}