onAssetChanged method

  1. @override
void onAssetChanged(
  1. String path
)
override

A file in the project changed — saved by a tool, dropped in from outside. Whatever this module shows from it should show the new one.

Implementation

@override
void onAssetChanged(String path) {
  if (path.endsWith(StoreLock.fileName)) {
    _checks?.invalidate();
    _controller?.refreshProject();
  }
}