flutter_sanity 1.0.1 copy "flutter_sanity: ^1.0.1" to clipboard
flutter_sanity: ^1.0.1 copied to clipboard

Flutter library for Sanity.io

example/main.dart

import 'package:flutter_sanity/flutter_sanity.dart';

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

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

  print(response);
}
17
likes
140
pub points
70%
popularity

Publisher

unverified uploader

Flutter library for Sanity.io

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

http

More

Packages that depend on flutter_sanity