AmRefreshWidgetController.of constructor Null safety

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.