onChange method

void onChange(
  1. bool selfChange,
  2. String? uri,
  3. int flags
)

Gets called when a content change occurs. Includes the changed content uri when available.

Subclasses should override this method to handle content changes.

The selfChange will be true if this is a self-change notification.

The flags are indicating details about this change.

Implementation

void onChange(bool selfChange, String? uri, int flags) {}