Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
76 commits
Select commit Hold shift + click to select a range
a70f41a
more edits to uiscene migration documentation (#13072)
LouiseHsu Feb 17, 2026
0d2ef12
Include site sections on mobile sidenav (#13085)
parlough Feb 17, 2026
93b4245
Docs: Fix phrasing in case-study/index.md (#13083)
TSchattschneider Feb 18, 2026
514dd53
Update links to learning resources page (#13065)
parlough Feb 18, 2026
37d7322
Mention that UIScene is now the default (#13090)
sfshaza2 Feb 18, 2026
3974d3a
Typo Fix: Rename `ContactsListPage` to `ContactListsPage` (#13091)
spartaninzaghi Feb 19, 2026
ec00103
Adding a recipe for the record package (#13075)
sfshaza2 Feb 19, 2026
2254617
Update some Flutter engine doc links (#13096)
hannah-hyj Feb 20, 2026
a6f9448
Mark the site as documenting 3.41 (#13098)
parlough Feb 20, 2026
b6455d7
Add a recipe for the flutter_soloud package (#13097)
sfshaza2 Feb 20, 2026
6150d58
Clean up and follow-up from recent release-related PRs (#13064)
parlough Feb 20, 2026
c6c8bca
Bump github/codeql-action from 4.32.3 to 4.32.4 (#13105)
dependabot[bot] Feb 23, 2026
d055e20
Small clean up and fixes to recent audio cookbook recipes (#13101)
parlough Feb 23, 2026
4170fbb
Update to jaspr_content version 0.5.0 (#13108)
parlough Feb 23, 2026
8b5a0f0
Fix grammar and improve phrasing in README (#13106)
Vonarian Feb 23, 2026
9644ac1
docs: reorganize Online Courses page by language and fix alphabetical…
Anderson-Andre-P Feb 23, 2026
413f62c
Fix incorrect path for generated bindings in package_ffi docs (#13100)
naipaka Feb 23, 2026
983235f
fix: remove duplicate course (#13110)
Anderson-Andre-P Feb 23, 2026
8278868
Edge to edge behavior on Android (#13099)
sfshaza2 Feb 24, 2026
a7e4645
Add Devtools release notes for version 2.55.0 (#13111)
elliette Feb 24, 2026
a134f18
Design Doc: Replace BlockSemantics with new flag (#13113)
hannah-hyj Feb 24, 2026
88ec124
Embed Flutter + Antigravity YouTube video (#13116)
khanhnwin Feb 25, 2026
584294f
Add missing redirect from old get-started/install links (#13118)
parlough Feb 26, 2026
0bba0e3
[website] Remove usesCleartextTraffic (#13117)
mboetger Feb 26, 2026
b1d0e93
Update Flutter iOS role application link (#13121)
jmagman Feb 28, 2026
0449072
Design Doc: Decoupling Menu State from Presentation (#13127)
davidhicks980 Mar 2, 2026
27de103
Adjust caution note for `firebase_options.dart` (#12995)
nilsreichardt Mar 2, 2026
e66bf2f
Adds go link for dependency package hosting design doc (#13129)
stuartmorgan-g Mar 2, 2026
3db6fb6
Update title for Flutter setup documentation (#13120)
mit-mit Mar 2, 2026
a9a8cc9
Move AI in sidenav (#13130)
sfshaza2 Mar 2, 2026
750f165
Fix #13102: clarify Linux build prerequisite structure (#13132)
sfshaza2 Mar 3, 2026
4699037
Migration guide for ListTile color warning (#13131)
QuncCccccc Mar 3, 2026
d0dd672
Delete duplicated layout entry in DevTools lesson summary (#13136)
sheepmomodld Mar 3, 2026
5ea9aa9
Bump github/codeql-action from 4.32.4 to 4.32.5 (#13137)
dependabot[bot] Mar 3, 2026
bad67a3
Deprecate TextInputConnection.setStyle (#13016)
koji-1009 Mar 3, 2026
6102231
Remove documentation about metadata (#13133)
mboetger Mar 4, 2026
11937d9
Update fwe samples (#13140)
lamek Mar 4, 2026
eaa6c50
Wrap widget names at camel case boundaries (#13142)
parlough Mar 4, 2026
5572f48
Docs: Add manual plugin linking instructions for SPM (#12979)
sfshaza2 Mar 4, 2026
eb509c2
Add System UI design doc (#13143)
justinmc Mar 4, 2026
09202a7
Some reformatting and add info on temporarily disabling UIScene (#13095)
sfshaza2 Mar 4, 2026
1d356c8
feat: shuffle tutorial quiz options to remove positional bias (#13141)
AdarshBaddies Mar 5, 2026
a1ec812
docs: update favorites list by adding Abdallah Shaban and removing An…
abdallahshaban557 Mar 5, 2026
a90397a
Bump github/codeql-action from 4.32.5 to 4.32.6 (#13155)
dependabot[bot] Mar 6, 2026
375c998
Adding Firebase AI Logic showcase to list of examples (#13149)
sfshaza2 Mar 6, 2026
432877d
Some initial fixes after first set of FWE excerpts (#13150)
parlough Mar 7, 2026
cbcf0ec
Fix integration_test command syntax in documentation (#13135)
luo2430 Mar 7, 2026
4c17ebc
Add `/go/video-player-drm` design doc redirect (#13154)
nateshmbhat Mar 9, 2026
2ef7cea
Update all references to old /get-started destinations (#13157)
parlough Mar 9, 2026
885b501
Update fwe samples (pt2 of 3) (#13156)
lamek Mar 9, 2026
6aebf02
Scaffold initial agent guidelines file for repository (#13152)
parlough Mar 9, 2026
2754b89
Add config to disable PR summary comments (#13151)
parlough Mar 9, 2026
ff7d8ab
Revert "Update fwe samples (pt2 of 3) (#13156)" (#13159)
parlough Mar 9, 2026
7689364
Add RawMenuAnchor close order migration guide (#13145)
davidhicks980 Mar 9, 2026
c0c1022
Omission Fix: Retain automaticallyImplyLeading default parameter (#13…
spartaninzaghi Mar 9, 2026
ed1c992
Updating GenUI to current version of 0.9 (#13161)
sfshaza2 Mar 11, 2026
f3340f4
Add redirect for impeller backend desktop (#13164)
sero583 Mar 11, 2026
019d90c
[fwe] Fix `Tile` constructor parameters (#13174)
parlough Mar 12, 2026
7e13add
Clean up and fixes to "How Flutter works" (#13172)
parlough Mar 13, 2026
6e1daf7
Add role for the framework team! (#13171)
Piinks Mar 13, 2026
34f4a5c
Update SDK constraint and a few dependencies (#13176)
parlough Mar 13, 2026
f41fdef
Fix challenge issues on fwe layout tutorial (#13173)
parlough Mar 13, 2026
2d8829e
Windows install (#13167)
sfshaza2 Mar 13, 2026
a9d3279
Adding a staging skill (#13166)
sfshaza2 Mar 13, 2026
35d3bb3
Update WebSocket URL in WebSocket recipe (#13183)
IvoneDjaja Mar 16, 2026
99a2d6a
Add headers to fetchAlbum HTTP request (#13185)
IvoneDjaja Mar 16, 2026
34d5e36
Bump github/codeql-action from 4.32.6 to 4.33.0 (#13193)
dependabot[bot] Mar 17, 2026
b984d95
Update `llms.txt` file (#13191)
parlough Mar 17, 2026
4838e77
Add `/go/android-built-in-kotlin-support` design doc redirect (#13194)
jesswrd Mar 18, 2026
a094154
Update extern-win.md (#13179)
sfshaza2 Mar 18, 2026
8d55670
Dusting and cleaning of the web pages (#13160)
sfshaza2 Mar 19, 2026
b071b9a
Fix and update a few links (#13197)
parlough Mar 19, 2026
268e2f0
Integrate packages from site-shared (#13190)
parlough Mar 21, 2026
1a1a1b6
Add `/go/onmaploaded` design doc redirect (#13200)
hearsilent Mar 22, 2026
721d582
Bump github/codeql-action from 4.33.0 to 4.34.1 (#13211)
dependabot[bot] Mar 23, 2026
0b182d2
sync: 2026/03/24
AmosHuKe Mar 24, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
54 changes: 54 additions & 0 deletions .agents/skills/stage-site/SKILL.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
---
name: stage-site
description: >-
Stages the Flutter site locally. This includes checking for broken links,
verifying excerpts, updating formatting, and serving the dev site.
---

# Stage the Flutter site

Before committing changes or reviewing a PR locally,
it is important to stage the site and ensure everything works correctly.
Follow these steps to stage the site:

## 1. Check for broken links

Run the following command to check for any unlinked or broken
Markdown link references in the site output:

```bash
dart run dash_site check-link-references
```

Alternatively, to verify all links between pages on the site work:

```bash
dart run dash_site check-links
```

If any broken links are found, try to patch them or alert the user.

## 2. Sync code excerpts

Ensure that any changed code excerpts are properly run and synced to the Markdown files:

```bash
dart run dash_site refresh-excerpts
```

## 3. Update formatting

Update the formatting of the site examples and tools to ensure
they follow the official Dart format:

```bash
dart run dash_site format-dart
```

## 4. Stage the site locally

Finally, serve a local development server of the site so the user can preview the changes:

```bash
dart run dash_site serve
```
64 changes: 64 additions & 0 deletions .agents/skills/update-llms-text/SKILL.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
---
name: update-llms-text
description: Update and maintain the llms.txt file. Use when the user wants to add sections, add links, correct information, or review the llms.txt file.
disable-model-invocation: true
argument-hint: "[action or description of changes]"
---

# Update llms.txt

Update `src/content/llms.txt`, a curated resource list that
helps LLMs understand the Flutter framework.

Always start by reading the existing `src/content/llms.txt` to
understand the current structure and content before making changes.

## Actions

Based on the user-provided action, perform one of the following tasks:

### Add a section

When asked to add a new section:

1. If not provided, ask for the section title and links.
2. Place the new section in a logical location relative to existing sections.

### Add links

When asked to add new links to an existing section:

1. If not provided, ask for the target section and links to add.
2. For each link provided:

1. Load and analyze its source file to identify its title and
determine an appropriate description.
2. Append the link to the specified section,
matching the existing Markdown-based format:

```md
- [Title](URL): Description.
```

### Correct information

When asked to correct information:

1. If not provided, Ask for the incorrect information and the correction.
2. Update the file with the corrected information.

### Review the file

When asked to review the file:

1. Read the entire file.
2. Check for duplicate entries, broken links, inconsistent formatting,
spelling and grammar errors, and general opportunities for improvement.
3. Report findings and suggestions to the user, but
don't make changes without approval.

## Formatting rules

- Each link follows the format: `- [Title](URL): Description.`
- Sections are separated by a blank line.
- Keep descriptions concise and informative.
49 changes: 49 additions & 0 deletions .agents/skills/validate-pr/SKILL.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
---
name: validate-pr
description: >-
Stages the Flutter site locally. This includes checking for broken links,
verifying excerpts, updating formatting, and serving the dev site.
---

# Stage the Flutter site

Before committing changes or reviewing a PR locally,
it is important to stage the site and ensure everything works correctly.
Follow these steps to stage the site:

## 1. Sync code excerpts

Ensure that any changed code excerpts are properly run and synced to the
Markdown files:

```bash
dart run dash_site refresh-excerpts
```

## 2. Update formatting

Update the formatting of the site examples and tools to ensure
they follow the official Dart format:

```bash
dart run dash_site format-dart
```

## 3. Check for broken links

Run the following command to check for any unlinked or broken
Markdown link references in the site output:

```bash
dart run dash_site check-link-references
```

If any broken links are found, try to patch them or alert the user.

## 4. Stage the site locally

Finally, serve a local development server of the site so the user can preview the changes:

```bash
dart run dash_site serve
```
17 changes: 17 additions & 0 deletions .gemini/config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Configuration for the Gemini Code Assist review bot on GitHub.
# Relevant documentation: https://developers.google.com/gemini-code-assist/docs/customize-gemini-behavior-github

code_review:
# Only leave review comments for medium or higher severity issues.
comment_severity_threshold: MEDIUM
# We don't need to include drafts.
pull_request_opened:
# The documentation can be referenced if needed.
help: false
# The summaries are often too verbose to be helpful, and we expect
# contributors to provide sufficient detail in the PR description.
summary: false
include_drafts: false

# We have lots of fun already and less noise is fun too.
have_fun: false
73 changes: 73 additions & 0 deletions AGENTS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
# AGENTS.md

This file provides important project context and guidance to
agentic coding and writing tools when working with them on
content and code in this repository.

## Project overview

This repository contains the source code and content for
the Flutter framework's documentation website.
It is hosted at `docs.flutter.dev` and shouldn't be confused with
the marketing site at `flutter.dev` or the API docs at `api.flutter.dev`.

The website is statically built and implemented with
Dart and the [Jaspr](https://jaspr.site) web framework.
For loading content, data, and some of its assets,
it uses [Jaspr Content](https://docs.jaspr.site/content).

### Directory structure

- `src/content/`:
Markdown-based documentation pages.
- `src/data/`:
YAML and JSON data files used by the site, such as
for the sidenav, glossary, and various indices.
- `src/_includes/`:
Liquid partial files written in Markdown.
- `examples/`:
A pub workspace containing Dart and Flutter code examples,
referenced by code excerpts in the Markdown files.
- `site/`:
The site implementation written in Dart using Jaspr and Jaspr Content.
- `tool/dash_site/`:
CLI tool for site development and maintenance.

## Common commands

While working on the site,
you might need to run these commands:

```bash
# Install or update Dart dependencies:
dart pub get

# Serve a dev server of the site locally:
dart run dash_site serve

# Build a production version of the site:
dart run dash_site build

# Sync code excerpts to Markdown files:
dart run dash_site refresh-excerpts

# Learn what other commands are available:
dart run dash_site --help
```

## Content guidelines

### Writing style

Writing should be consistent across the site and follow the
[Google developer documentation style guide](https://developers.google.com/style/).

#### Line breaks

In Markdown files, use [semantic line breaks](https://sembr.org/) and
try to keep each line under 80 characters long.

## Coding guidelines

All Dart code should follow [Effective Dart](https://dart.dev/effective-dart),
unless purposefully not for explanatory or pedagogical purposes.
50 changes: 25 additions & 25 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,28 +33,28 @@ it's easiest to make changes using the GitHub UI.

If you have an issue with the
API docs on [api.flutter.dev](https://api.flutter.dev),
please file those issues on
please file them on
the [`flutter/flutter`](https://github.com/flutter/flutter/issues) repo,
not on this (`flutter/website`) repo.
The API docs are embedded in Flutter's source code,
so the engineering team handles those.
so the engineering team handles them.


## Before you submit a PR

We love it when the community gets involved in improving our docs!
But here are a few notes to keep in mind before you submit a PR:
Here are a few things to keep in mind before you submit a PR:

- When triaging issues,
we sometimes label an issue with the tag **PRs welcome**.
But we welcome PRs on other issues as well—
However, we welcome PRs on other issues as well—
it doesn't have to be tagged with that label.
- Please don't run our docs through Grammarly (or similar)
- Please don't run our docs through Grammarly (or a similar tool)
and submit those changes as a PR.
- We follow the [Google Developer Documentation Style Guidelines][]
for example, don't use "i.e." or "e.g.",
avoid writing in first person,
and avoid writing in future tense.
- We follow the [Google Developer Documentation Style Guidelines][]—
for example, avoid "i.e." or "e.g.",
avoid writing in the first person,
and avoid the future tense.
You can start with the
[style guide highlights](https://developers.google.com/style/highlights)
or the [word list](https://developers.google.com/style/word-list),
Expand All @@ -76,7 +76,7 @@ Often you can make changes using the GitHub UI.
If needed, we can stage the changes automatically in your pull request.

If your change involves code samples, adds/removes pages, or affects navigation,
do consider building and testing your work before submitting.
please build and test your work before submitting.

If you want or need to build the site, follow the steps below.

Expand All @@ -94,8 +94,8 @@ install the latest stable release of Flutter, which includes Dart.
If you don't have Flutter or need to update, follow the
instructions at [Install Flutter][] or [Upgrading Flutter][].

If you already have Flutter installed, verify it's on your path
and already the latest stable version:
If you already have Flutter installed, verify it's in your path
and is the latest stable version:

```console
flutter --version
Expand All @@ -122,7 +122,7 @@ git clone https://github.com/flutter/website.git
## Set up your local environment and serve changes

Before you continue setting up the site infrastructure,
verify the correct versions of Flutter are set up and available by
verify that the correct version of Flutter is set up and available by
following the instructions in [Get the prerequisites](#get-the-prerequisites).

1. _Optional:_ After cloning the repo,
Expand Down Expand Up @@ -181,27 +181,27 @@ following the instructions in [Get the prerequisites](#get-the-prerequisites).

If you've made changes to the code in
the `/examples`, `/site`, or `/tool` directories,
commit your work, then run the following command to
verify it is up to date and matches the site standards.
commit your work, and then run the following command to
verify that it is up to date and matches site standards.

```terminal
dart run dash_site check-all
```

If this script reports any errors or warnings,
then address those issues and rerun the command.
If you have any issues, leave a comment on your issue or pull request,
and we'll try our best to help you.
address them and rerun the command.
If you have questions, leave a comment on your issue or pull request,
and we'll do our best to help.
You can also chat with us on the `#hackers-devrel` channel
on the [Flutter contributors Discord][]!

[Flutter contributors Discord]: https://github.com/flutter/flutter/blob/main/docs/contributing/Chat.md

### Check links

If you've made changes to the content and would like to check all
internal links are functional and Markdown link references are valid,
build the site locally and then run the following commands.
If you've made changes to the content and want to check that all
internal links and Markdown link references are valid,
build the site locally and run the following commands.

1. Build the site locally.

Expand All @@ -215,7 +215,7 @@ build the site locally and then run the following commands.
dart run dash_site check-link-references
```

1. Validate all internal links are valid.
1. Verify that all internal links are valid.

> [!NOTE]
> This command relies on the `firebase` CLI tool being on your PATH.
Expand All @@ -227,14 +227,14 @@ build the site locally and then run the following commands.
```

If either command reports any errors or warnings,
then address those issues, rebuild the site, and rerun the command.
address them, rebuild the site, and rerun the command.

[firebase-install]: https://firebase.google.com/docs/cli#setup_update_cli

### Refresh code excerpts

A build that fails with the error
`Error: Some code excerpts needed to be updated!`
`Error: Some code excerpts need to be updated!`
means that one or more code excerpts in the site Markdown files
aren't identical to the code regions declared
in the corresponding `.dart` files.
Expand All @@ -250,4 +250,4 @@ run `dart run dash_site refresh-excerpts`.
To learn more about creating, editing, and using code excerpts,
check out the [excerpt updater package documentation][].

[excerpt updater package documentation]: https://github.com/dart-lang/site-shared/tree/main/pkgs/excerpter#readme
[excerpt updater package documentation]: https://github.com/flutter/website/tree/main/packages/excerpter#readme
Loading
Loading