A Easy WebDAV Client in Dart
- Basic authentication
- Creating directories, removing directories and files
- Uploading and downloading files
- Directory listing
- parse the
LISTxml response rather using xmltojson to do that
Use this package as a library
1. Depend on it
Add this to your package's pubspec.yaml file:
dependencies: webdav: ^1.0.6-dev
2. Install it
You can install packages from the command line:
$ pub get
$ flutter pub get
Alternatively, your editor might support
pub get or
flutter pub get.
Check the docs for your editor to learn more.
3. Import it
Now in your Dart code, you can use:
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 13, 2020, and provided a score, details, and suggestions below. Analysis was completed with status completed using:
- Dart: 2.7.1
- pana: 0.13.5
lib/src/client.dart. (-1.49 points)
lib/src/client.dart reported 3 hints:
line 25 col 27: Unnecessary new keyword.
line 150 col 17: Avoid empty catch blocks.
line 188 col 25: Unnecessary new keyword.
lib/src/file.dart. (-1 points)
lib/src/file.dart reported 2 hints:
line 49 col 14: Unnecessary new keyword.
line 79 col 16: Unnecessary new keyword.
Maintenance issues and suggestions
Support latest dependencies. (-10 points)
The version constraint in
pubspec.yaml does not support the latest published versions for 1 dependency (
Maintain an example. (-10 points)
Create a short demo in the
example/ directory to show how to use this package.
Common filename patterns include
webdav.dart. Packages with multiple examples should provide
For more information see the pub package layout conventions.
Package is pre-release. (-5 points)
Pre-release versions should be used with caution; their API can change in breaking ways.