mirror of
https://github.com/flutter/samples.git
synced 2025-11-08 22:09:06 +00:00
â ï¸ **Dependabot is rebasing this PR** â ï¸ Rebasing might not happen immediately, so don't worry if this takes some time. Note: if you make any changes to this PR yourself, they will take precedence over the rebase. --- Bumps [lints](https://github.com/dart-lang/lints) from 3.0.0 to 4.0.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/dart-lang/lints/releases">lints's releases</a>.</em></p> <blockquote> <h2>package:lints v4.0.0</h2> <ul> <li><code>core</code>: <ul> <li>added <code>library_annotations</code> (<a href="https://redirect.github.com/dart-lang/lints/issues/177">dart-lang/lints#177</a>)</li> <li>added <code>no_wildcard_variable_uses</code> (<a href="https://redirect.github.com/dart-lang/lints/issues/139">dart-lang/lints#139</a>)</li> <li>removed <code>package_prefixed_library_names</code> (<a href="https://redirect.github.com/dart-lang/lints/issues/172">dart-lang/lints#172</a>)</li> </ul> </li> <li><code>recommended</code>: <ul> <li>removed <code>library_names</code> (<a href="https://redirect.github.com/dart-lang/lints/issues/181">dart-lang/lints#181</a>)</li> </ul> </li> <li>Updated the SDK lower-bound to 3.1.</li> <li>Add a section on upgrading to the latest lint set to the readme.</li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/dart-lang/lints/blob/main/CHANGELOG.md">lints's changelog</a>.</em></p> <blockquote> <h2>4.0.0</h2> <ul> <li><code>core</code>: <ul> <li>added <code>library_annotations</code> (<a href="https://redirect.github.com/dart-lang/lints/issues/177">dart-lang/lints#177</a>)</li> <li>added <code>no_wildcard_variable_uses</code> (<a href="https://redirect.github.com/dart-lang/lints/issues/139">dart-lang/lints#139</a>)</li> <li>removed <code>package_prefixed_library_names</code> (<a href="https://redirect.github.com/dart-lang/lints/issues/172">dart-lang/lints#172</a>)</li> </ul> </li> <li><code>recommended</code>: <ul> <li>removed <code>library_names</code> (<a href="https://redirect.github.com/dart-lang/lints/issues/181">dart-lang/lints#181</a>)</li> </ul> </li> <li>Updated the SDK lower-bound to 3.1.</li> <li>Add a section on upgrading to the latest lint set to the readme.</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="f0205c1810"><code>f0205c1</code></a> rev to 4.0.0; prep to publish (<a href="https://redirect.github.com/dart-lang/lints/issues/184">#184</a>)</li> <li><a href="e467d1e6cf"><code>e467d1e</code></a> Bump dart-lang/setup-dart from 1.6.2 to 1.6.4 (<a href="https://redirect.github.com/dart-lang/lints/issues/185">#185</a>)</li> <li><a href="1cd93f4ce7"><code>1cd93f4</code></a> Bump actions/checkout from 4.1.2 to 4.1.4 (<a href="https://redirect.github.com/dart-lang/lints/issues/186">#186</a>)</li> <li><a href="7f63963a5a"><code>7f63963</code></a> remove the 'library_names' lint (<a href="https://redirect.github.com/dart-lang/lints/issues/183">#183</a>)</li> <li><a href="df9bcbf6dd"><code>df9bcbf</code></a> Bump actions/checkout from 4.1.1 to 4.1.2 (<a href="https://redirect.github.com/dart-lang/lints/issues/182">#182</a>)</li> <li><a href="ead770872e"><code>ead7708</code></a> add library_annotations; remove package_prefixed_library_names (<a href="https://redirect.github.com/dart-lang/lints/issues/179">#179</a>)</li> <li><a href="90a61e474e"><code>90a61e4</code></a> Bump dart-lang/setup-dart from 1.6.0 to 1.6.2 (<a href="https://redirect.github.com/dart-lang/lints/issues/176">#176</a>)</li> <li><a href="3810f8b3dc"><code>3810f8b</code></a> add a section on upgrading to the latest lint set to the readme (<a href="https://redirect.github.com/dart-lang/lints/issues/171">#171</a>)</li> <li><a href="f58fd77bbf"><code>f58fd77</code></a> Bump actions/checkout from 4.1.0 to 4.1.1 (<a href="https://redirect.github.com/dart-lang/lints/issues/168">#168</a>)</li> <li><a href="5c60f48a17"><code>5c60f48</code></a> Update README.md to use new syntax for adding dev dependencies (<a href="https://redirect.github.com/dart-lang/lints/issues/167">#167</a>)</li> <li>Additional commits viewable in <a href="https://github.com/dart-lang/lints/compare/v3.0.0...v4.0.0">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details>
Sample Index and Web Demos
This directory contains the index hosted at flutter.github.io/samples and web demos hosted with it.
See the demos in action
Compiled versions of the samples are hosted at https://flutter.github.io/samples/#?platform=web.
Building samples code
Run the demo using the chrome device type:
$ cd charts
$ flutter packages get
$ flutter run -d chrome
You should see a message printing the URL to access: http://localhost:8080
Deploying to GitHub Pages
This project uses a GitHub action to deploy update the gh-pages branch. To
do this manually, you can also use package:peanut:
$ flutter pub global activate peanut
Verify pub get has been run on each demo:
$ dart run _tool/verify_packages.dart
Build all demos, along with the sample index:
$ flutter pub global run peanut
Deploy to GitHub Pages:
$ git push origin gh-pages:gh-pages
Building the sample index
See sample_index/README.md for details