controller property

T get controller

Retrieves the controller associated with this view.

The controller is retrieved using GetX's Get.find() method, using the specified tag if provided.

Implementation

T get controller => Get.find<T>(tag: tag)!;