-
Notifications
You must be signed in to change notification settings - Fork 3.6k
[flutter_plugin_tools] Reimplements the excerpt system inline in the tool, rather than relying on a separate package. #4417
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,3 @@ | ||
| <?code-excerpt path-base="excerpts/packages/google_identity_services_web_example"?> | ||
|
|
||
| # google_identity_services_web | ||
|
|
||
| A JS-interop layer for Google Identity's Sign In With Google SDK. | ||
|
|
@@ -29,7 +27,7 @@ script tag [as recommended](https://developers.google.com/identity/gsi/web/guide | |
| Place the `script` tag in the `<head>` of your site, next to the script tag that | ||
| loads `flutter.js`, so the browser can downloaded both in parallel: | ||
|
|
||
| <?code-excerpt "../../web/index-with-script-tag.html (script-tag)"?> | ||
|
||
| <?code-excerpt "example/web/index-with-script-tag.html (script-tag)"?> | ||
| ```html | ||
| <head> | ||
| <!-- ··· --> | ||
|
|
@@ -46,7 +44,7 @@ An alternative way, that downloads the SDK on demand, is to use the | |
| **`loadWebSdk`** function provided by the library. A simple location to embed | ||
| this in a Flutter Web only app can be the `main.dart`: | ||
|
|
||
| <?code-excerpt "main.dart (use-loader)"?> | ||
| <?code-excerpt "example/lib/main.dart (use-loader)"?> | ||
| ```dart | ||
| import 'package:google_identity_services_web/loader.dart' as gis; | ||
| // ··· | ||
|
|
||
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Usually we would version-bump this package so this README fix goes out, but this is so minor waiting for the next organic release is fine.