flutter_sanity_plus 2.0.0+1 copy "flutter_sanity_plus: ^2.0.0+1" to clipboard
flutter_sanity_plus: ^2.0.0+1 copied to clipboard

Dart libary to query the Sanity.io API. Supports running queries and downloading files.

example/main.dart

import 'package:flutter_sanity_plus/flutter_sanity_plus.dart';

void main() async {
  final sanityClient = SanityClient(
    dataset: 'dataSet',
    projectId: 'projectId',
  );

  final response = await sanityClient.fetch('*[_type == "post"]');

  print(response);
}
0
likes
150
pub points
49%
popularity

Publisher

verified publisheraryak.dev

Dart libary to query the Sanity.io API. Supports running queries and downloading files.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

http

More

Packages that depend on flutter_sanity_plus