release method

  1. @Deprecated('Use dispose instead. ' 'This feature was deprecated after v3.3.0-0.0.pre.')
void release()

Trigger the listeners to indicate that the widget no longer needs to be kept alive.

This method does not call dispose. When the handle is not needed anymore, it must be disposed regardless of whether notifying listeners.

Implementation

@Deprecated(
  'Use dispose instead. '
  'This feature was deprecated after v3.3.0-0.0.pre.',
)
void release() {
  notifyListeners();
}