Skip to content
pubscout

nextcloud

9.0.0, released 8 months ago by an unverified publisher

A Nextcloud API client written in Dart supporting maintained server versions.

WASM-readyCopyleft license
$ flutter pub add nextcloud
Source repository

What it does

Provides a comprehensive Nextcloud API client library for Dart and Flutter applications. It supports multiple authentication methods including HTTP Basic and Bearer auth (app passwords) and exposes endpoints grouped by Nextcloud apps.

AI-written summary of version 9.0.0, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You are building a Flutter or Dart application that interacts with a Nextcloud server.
  • You need standard access to Nextcloud APIs like files, notes, talk, and other supported apps.

Skip it when

  • You are not interacting with a Nextcloud server backend.
  • You need custom REST functionality completely outside the scope of Nextcloud server APIs.

Strengths

  • Supports all maintained Nextcloud server versions and common apps.
  • Built-in support for multiple authentication methods including app passwords.

Weaknesses

  • API endpoints are tied to specific Nextcloud server and app versions.
  • Not all endpoints are guaranteed to have full unit test coverage.

Setup

Kind
Pure Dart
Effort
Low
Code generation
No
Direct dependencies
16

Flutter applications may require additional configuration for networking.

final client = NextcloudClient(
    Uri.parse('http://localhost'),
    loginName: 'admin',
    password: 'admin',
);

Alternatives

Packages that do the same job and could replace nextcloud.

  • dio

    If you need a general-purpose HTTP client for custom REST APIs instead of a dedicated Nextcloud client.

Works with

Packages commonly used together with nextcloud: ones it builds on, ones built on it, and its own family.