directus 0.2.2 copy "directus: ^0.2.2" to clipboard
directus: ^0.2.2 copied to clipboard

outdated

The unofficial SDK for Directus, with REST API and auth. Compatible with Flutter.

example/lib/main.dart

import 'package:directus/directus.dart';

void main() async {
  final sdk = await Directus('http://localhost:8055').init();

  try {
    final response = await sdk.items('posts').readMany();

    print(response.data);
  } on DirectusError catch (error) {
    print(error.message);
  }
}
38
likes
0
pub points
80%
popularity

Publisher

verified publisherdirectus.io

The unofficial SDK for Directus, with REST API and auth. Compatible with Flutter.

Homepage
Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

dio, flutter, shared_preferences

More

Packages that depend on directus