A file system watcher.
It monitors changes to contents of directories and sends notifications when files have been added, removed, or modified.
<3.0.0, and adjust other dependencies.
Updates to support Dart 2.0 core library changes (wave 2.2). See issue 31847 for details.
asyncto reflect the APIs this package is actually using.
FileWatcherwhere events could be added after watchers were closed.
Watcher interface that encompasses watching both files and
PollingFileWatcher classes for watching changes to
Improved support for Windows via
Fixed bugs in
Add this to your package's pubspec.yaml file:
dependencies: watcher: ^0.9.7+10
You can install packages from the command line:
$ pub get
$ flutter packages get
Alternatively, your editor might support
pub get or
flutter packages get.
Check the docs for your editor to learn more.
Now in your Dart code, you can use:
|0.9.7+10||Jul 18, 2018|
|0.9.7+9||Jun 25, 2018|
|0.9.7+8||May 23, 2018|
|0.9.7+7||Feb 1, 2018|
|0.9.7+6||Jan 5, 2018|
|0.9.7+4||Sep 21, 2017|
|0.9.7+3||Aug 10, 2016|
|0.9.7+2||May 3, 2016|
|0.9.7||Jul 16, 2015|
|0.9.6||Jun 12, 2015|
Describes how popular the package is relative to other packages. [more]
Code health derived from static analysis. [more]
Reflects how tidy and up-to-date the package is. [more]
Weighted score of the above. [more]
We analyzed this package on Feb 14, 2019, and provided a score, details, and suggestions below. Analysis was completed with status completed using:
Detected platforms: Flutter, other
lib/src/utils.dart. (-1 points)
lib/src/utils.dart reported 2 hints:
line 34 col 68: Use
= to separate a named parameter from its default value.
line 38 col 29: 'typed' is deprecated and shouldn't be used.
lib/src/path_set.dart. (-0.50 points)
lib/src/path_set.dart reported 1 hint:
line 139 col 12: Use
isNotEmpty for Iterables and Maps.
Maintain an example.
None of the files in the package's
example/ directory matches known example patterns.
Common filename patterns include
watcher.dart. Packages with multiple examples should provide
For more information see the pub package layout conventions.