1
0
mirror of https://github.com/flutter/samples.git synced 2025-11-08 13:58:47 +00:00
Files
samples/form_app
dependabot[bot] 2c415b25fc Bump intl from 0.18.1 to 0.19.0 in /form_app (#2106)
Bumps [intl](https://github.com/dart-lang/i18n/tree/main/pkgs) from 0.18.1 to 0.19.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/dart-lang/i18n/releases">intl's releases</a>.</em></p>
<blockquote>
<h2>package:intl v0.19.0</h2>
<ul>
<li>Update to CLDR v44.</li>
<li>Update to CLDR v43.</li>
<li>Add <code>tryParse</code> to NumberFormat.</li>
<li>Add <code>tryParse</code> <code>tryParseStrict</code> <code>tryParseLoose</code> <code>tryParseUtc</code> to DateFormat.</li>
<li>Switch QAR currency name to Riyal.</li>
<li>Add license headers to some files.</li>
<li>Update CVE currency symbol.</li>
<li>Add <code>EEEEE</code> skeleton for <code>DateFormat</code>, closing <a href="https://redirect.github.com/dart-lang/i18n/issues/176">#176</a>.</li>
<li>Switch to <code>3.0.0</code> SDK.</li>
<li>Fix issue <a href="https://redirect.github.com/dart-lang/i18n/issues/483">#483</a> about date parsing with a <code>yy</code> skeleton.</li>
<li>Extract <code>NumberParserBase</code> abstract class</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="a1431f82d6"><code>a1431f8</code></a> Switch changelog entries</li>
<li><a href="bd86e2723a"><code>bd86e27</code></a> Merge branch 'main' into publishIntl</li>
<li><a href="5043160a82"><code>5043160</code></a> No public description</li>
<li><a href="2d75d73fd0"><code>2d75d73</code></a> Publish <code>package:intl</code> v0.19.0</li>
<li><a href="412ef68964"><code>412ef68</code></a> No public description</li>
<li><a href="2c82cd2bd0"><code>2c82cd2</code></a> Dissolve <code>package:messages_deserializer</code> for pub publish (<a href="https://github.com/dart-lang/i18n/tree/main/pkgs/issues/751">#751</a>)</li>
<li><a href="f02f7484b6"><code>f02f748</code></a> Fixes before publish (<a href="https://github.com/dart-lang/i18n/tree/main/pkgs/issues/749">#749</a>)</li>
<li><a href="c782918d84"><code>c782918</code></a> Last fixes</li>
<li><a href="2da7748e0f"><code>2da7748</code></a> More fixes</li>
<li><a href="7315909c2a"><code>7315909</code></a> Reformat</li>
<li>Additional commits viewable in <a href="https://github.com/dart-lang/i18n/commits/intl-v0.19.0/pkgs">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=intl&package-manager=pub&previous-version=0.18.1&new-version=0.19.0)](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>
2023-12-08 06:57:49 +00:00
..
2023-11-16 08:55:44 +10:00
2023-11-16 08:55:44 +10:00
2023-11-16 08:55:44 +10:00
2023-11-16 08:55:44 +10:00
2023-08-17 06:26:43 +10:00
2023-11-16 08:55:44 +10:00
2023-11-16 14:48:50 +10:00
2021-01-07 14:05:29 +11:00

form_app

A sample demonstrating different types of forms and best practices.

Sign In with HTTP

lib/src/sign_in_http.dart

A sign in form using package:http to send a request.

Form widgets

lib/src/form_widgets.dart

A stylized form that uses widgets like TextField, DatePicker, Slider, Checkbox, and Switch.

Autofill

lib/src/autofill.dart

A form that uses AutofillGroup to auto-fill the users name, email, and address.

In order to use Autofill in a browser, your app needs to be hosted with HTTPS. If you would like to test locally, you can build the app in release mode (flutter run -d chrome --release --web-port=5000) and use ngrok to create an HTTPS url for your local app (ngrok http 5000)

Validation

lib/src/validation.dart

A form that alerts the user if the data entered is invalid.