1
0
mirror of https://github.com/flutter/samples.git synced 2025-11-08 22:09:06 +00:00
Files
samples/form_app
dependabot[bot] 46d207587c Bump go_router from 8.2.0 to 9.0.0 in /form_app (#1916)
Bumps
[go_router](https://github.com/flutter/packages/tree/main/packages) from
8.2.0 to 9.0.0.
<details>
<summary>Commits</summary>
<ul>
<li><a
href="6b70804799"><code>6b70804</code></a>
[go_router] Reduces excessive rebuilds due to inherited look up. (<a
href="https://github.com/flutter/packages/tree/main/packages/issues/4227">#4227</a>)</li>
<li><a
href="f55d455f0d"><code>f55d455</code></a>
[image_picker] Update to 1.0 (<a
href="https://github.com/flutter/packages/tree/main/packages/issues/4285">#4285</a>)</li>
<li><a
href="25e1d87113"><code>25e1d87</code></a>
[file_selector] Add file group to save return value (<a
href="https://github.com/flutter/packages/tree/main/packages/issues/4222">#4222</a>)</li>
<li>See full diff in <a
href="https://github.com/flutter/packages/commits/go_router-v9.0.0/packages">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=go_router&package-manager=pub&previous-version=8.2.0&new-version=9.0.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`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<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 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>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-28 10:23:10 +10:00
..
2023-05-11 12:48:09 +10:00
2023-01-25 09:08:51 +10:00
2023-01-25 09:08:51 +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.