attach abstract method

void attach(
  1. covariant dynamic controller
)

Called when the extension is attached to a controller.

Store the controller reference for later use. This is the only way extensions can access the controller.

Implementation

void attach(covariant dynamic controller);