unlisten method

  1. @Deprecated('use SignalsMixin in StatefulWidget')
void unlisten(
  1. BuildContext context,
  2. void callback()
)

Stop subscriptions to updates on a signal for listeners

Implementation

@Deprecated('use SignalsMixin in StatefulWidget')
void unlisten(BuildContext context, void Function() callback) {
  unlistenSignal(context, this, callback);
}