webdav 1.0.6-dev

dart-webdav #

A Easy WebDAV Client in Dart

Features #

  • Basic authentication
  • Creating directories, removing directories and files
  • Uploading and downloading files
  • Directory listing


  • testcase
  • parse the LIST xml 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:

  webdav: ^1.0.6-dev

2. Install it

You can install packages from the command line:

with pub:

$ pub get

with Flutter:

$ 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:

import 'package:webdav/webdav.dart';
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]
Learn more about scoring.

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

Health suggestions

Fix lib/src/client.dart. (-1.49 points)

Analysis of 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.

Fix lib/src/file.dart. (-1 points)

Analysis of 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 (retry).

Maintain an example. (-10 points)

Create a short demo in the example/ directory to show how to use this package.

Common filename patterns include main.dart, example.dart, and webdav.dart. Packages with multiple examples should provide example/README.md.

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.


Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.1.0 <3.0.0
retry ^2.0.0 2.0.0 3.0.0+1
xml ^3.5.0 3.7.0
Transitive dependencies
charcode 1.1.3
collection 1.14.12
convert 2.1.1
meta 1.1.8
petitparser 3.0.1
typed_data 1.1.6
Dev dependencies
pedantic ^1.2.0
test >=1.0.0 <2.0.0