Skip to content

docs: change examples to use pub APIs - #1961

Open
brianquinlan wants to merge 17 commits into
dart-lang:masterfrom
brianquinlan:pub_example
Open

docs: change examples to use pub APIs#1961
brianquinlan wants to merge 17 commits into
dart-lang:masterfrom
brianquinlan:pub_example

Conversation

@brianquinlan

@brianquinlan brianquinlan commented Aug 4, 2026

Copy link
Copy Markdown
Collaborator

The books API previously used by the package:http, package:cronet_http, package:ok_http, and package:cupertino_http examples never has available quota so the examples appear broken.

Switch the examples to use the Dart pub API.

The Flutter example in package:flutter_http_example is significantly more complex and looks like this:

image

The examples for the other packages are fairly simple.


  • I’ve reviewed the contributor guide and applied the relevant portions to this PR.
Contribution guidelines:

Many Dart repos have a weekly cadence for reviewing PRs - please allow for some latency before initial review feedback.

Note: The Dart team is trialing Gemini Code Assist. Don't take its comments as final Dart team feedback. Use the suggestions if they're helpful; otherwise, wait for a human reviewer.

@github-actions github-actions Bot added package:cupertino_http Issues related to package:cupertino_http package:http package:cronet_http labels Aug 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant