AmRefreshWidgetController.of constructor

AmRefreshWidgetController.of(
  1. BuildContext ctx
)

Gets The Controller for the AmRefreshWidget ==> Use the context given in the builder. if the context is not for an activated AmRefreshWidget there will be an error.

Implementation

factory AmRefreshWidgetController.of(BuildContext ctx) => _instances[ctx]!;