Skip to content

Commit ca4a74c

Browse files
authored
Merge branch 'main' into fix-opencode-mcp-docs-13571
2 parents 0d338d0 + ca0f04b commit ca4a74c

45 files changed

Lines changed: 993 additions & 168 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
---
2+
name: publish-blog
3+
description: Publish a new article to the Flutter blog from a Google Doc.
4+
---
5+
6+
# Publish Blog Article
7+
8+
## Overview
9+
10+
Use this skill to add a new article to the Flutter blog
11+
by extracting content from a Google Doc,
12+
formatting it,
13+
and placing it in the correct directory.
14+
15+
## Workflow
16+
17+
### 1. Get content and images from Google Doc
18+
19+
- [ ] Ask the user to provide a link to the Google Doc.
20+
- [ ] In your browser, open the Google Doc.
21+
- [ ] Download the document as a Web Page (.html, zipped) via
22+
**File > Download > Web Page**
23+
(or ask the user to provide the zip if download fails).
24+
- [ ] Extract the text content from the downloaded HTML file
25+
and convert it to Markdown.
26+
- [ ] Extract the images from the `images/` folder in the zip file.
27+
- [ ] Create a new folder for the blog post in `sites/www/content/blog/`
28+
using a concise title.
29+
- [ ] Save the markdown content to `index.md`
30+
and move the images to the `images/` directory in that folder.
31+
- [ ] Reference the images in the markdown file
32+
using `<DashImage>` or standard markdown image tags as appropriate.
33+
34+
### 2. Format the markdown
35+
36+
- [ ] Apply semantic line breaks to any lines over 80 characters.
37+
- [ ] Ensure there is a blank line after each heading.
38+
39+
### 3. Add the author
40+
41+
- [ ] Ask the user to provide the author's GitHub handle.
42+
Search in `sites/www/content/blog/authors.yaml` for the handle.
43+
- [ ] If the author is not found, add a new author entry.
44+
Add the image to `sites/www/content/blog/authors_images/`
45+
and any other metadata you can find from the user's GitHub profile.
46+
- [ ] Update the frontmatter for the blog post with the author's handle.
47+
48+
### 4. Review
49+
50+
- [ ] Don't create a PR until the user has looked over the article.

‎.github/workflows/codeql-analysis.yml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636

3737
# Initializes the CodeQL tools for scanning.
3838
- name: Initialize CodeQL
39-
uses: github/codeql-action/init@e4fba868fa4b1b91e1fdab776edc8cfbe6e9fb81
39+
uses: github/codeql-action/init@5595ccaf912efad79be6eef63a5619ff05969be3
4040
with:
4141
languages: ${{ matrix.language }}
4242
# If you wish to specify custom queries, you can do so here or in a config file.
@@ -47,7 +47,7 @@ jobs:
4747
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
4848
# If this step fails, then you should remove it and run the build manually (see below)
4949
- name: Autobuild
50-
uses: github/codeql-action/autobuild@e4fba868fa4b1b91e1fdab776edc8cfbe6e9fb81
50+
uses: github/codeql-action/autobuild@5595ccaf912efad79be6eef63a5619ff05969be3
5151

5252
# ℹ️ Command-line programs to run using the OS shell.
5353
# 📚 https://git.io/JvXDl
@@ -61,4 +61,4 @@ jobs:
6161
# make release
6262

6363
- name: Perform CodeQL Analysis
64-
uses: github/codeql-action/analyze@e4fba868fa4b1b91e1fdab776edc8cfbe6e9fb81
64+
uses: github/codeql-action/analyze@5595ccaf912efad79be6eef63a5619ff05969be3

‎.github/workflows/docs.yml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
5050
with:
5151
persist-credentials: false
52-
- uses: dart-lang/setup-dart@65eb853c7ba17dde3be364c3d2858773e7144260
52+
- uses: dart-lang/setup-dart@7654d458321ee25acccccfdb86cd48bd95768ff1
5353
with:
5454
sdk: beta
5555
- name: Fetch Dart dependencies
@@ -66,7 +66,7 @@ jobs:
6666
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
6767
with:
6868
persist-credentials: false
69-
- uses: dart-lang/setup-dart@65eb853c7ba17dde3be364c3d2858773e7144260
69+
- uses: dart-lang/setup-dart@7654d458321ee25acccccfdb86cd48bd95768ff1
7070
with:
7171
sdk: beta
7272
- name: Fetch Dart dependencies
@@ -89,7 +89,7 @@ jobs:
8989
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
9090
with:
9191
persist-credentials: false
92-
- uses: dart-lang/setup-dart@65eb853c7ba17dde3be364c3d2858773e7144260
92+
- uses: dart-lang/setup-dart@7654d458321ee25acccccfdb86cd48bd95768ff1
9393
with:
9494
sdk: beta
9595
- name: Fetch Dart dependencies

‎.github/workflows/www.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
4444
with:
4545
persist-credentials: false
46-
- uses: dart-lang/setup-dart@65eb853c7ba17dde3be364c3d2858773e7144260
46+
- uses: dart-lang/setup-dart@7654d458321ee25acccccfdb86cd48bd95768ff1
4747
with:
4848
sdk: beta
4949
- name: Fetch Dart dependencies
@@ -66,7 +66,7 @@ jobs:
6666
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
6767
with:
6868
persist-credentials: false
69-
- uses: dart-lang/setup-dart@65eb853c7ba17dde3be364c3d2858773e7144260
69+
- uses: dart-lang/setup-dart@7654d458321ee25acccccfdb86cd48bd95768ff1
7070
with:
7171
sdk: beta
7272
- name: Fetch Dart dependencies

‎cloud_build/firebase-ghcli/Dockerfile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM dart:3.13.0-282.2.beta@sha256:e57146928496ba4a88f330a7d7fe6ad44a668807ceb6c15186768a3b8c8baa7e
1+
FROM dart:3.13.0-282.3.beta@sha256:71961f9ba5511c085fb94705306132d2aaf1d8cedafa13b7e4da01744052a1da
22

33
RUN apt-get update && apt-get install -y --no-install-recommends curl gpg ca-certificates \
44
# Install the GitHub CLI. \

‎firebase.json‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -324,6 +324,7 @@
324324
{ "source": "/go/android-embedding-dependencies", "destination": "https://docs.google.com/document/d/1vITp2mUZRa-cmll0sPH0zjNgPlyvOMx7awxPNRAPyic/edit", "type": 301 },
325325
{ "source": "/go/android-embedding-move", "destination": "https://docs.google.com/document/d/1nQujwZfEe3QOHTyZn160eImpoJOYioADP09DtumcLcc/edit?ts=5d8041db#", "type": 301 },
326326
{ "source": "/go/android-java-gradle-error", "destination": "/release/breaking-changes/android-java-gradle-migration-guide", "type": 301 },
327+
{ "source": "/go/android-local-area-permission", "destination": "https://docs.google.com/document/d/1mxBIzO-tWEa_RJk0aMWVQjooE5FUmrmWalGQ402D2Ck", "type": 301 },
327328
{ "source": "/go/android-migration-summary", "destination": "https://docs.google.com/document/d/1wKspwf6LQu6uo32uQ9NcukfiKhLL4ButV9cwpjeb8QI", "type": 301 },
328329
{ "source": "/go/android-ndk-version", "destination": "https://docs.google.com/document/d/1sljfqHpI5m4uxsL7B89yhYluO97Mz1YKyA0VgzzXyZ4/edit?usp=sharing&resourcekey=0-Ts9Rk8jbJor7WBMMiehKWg", "type": 301 },
329330
{ "source": "/go/android-plugin-migration", "destination": "/release/breaking-changes/plugin-api-migration", "type": 301 },
@@ -920,6 +921,7 @@
920921
{ "source": "/to/use-mirror-site", "destination": "/community/china#configure-your-machine-to-use-a-mirror-site", "type": 301 },
921922
{ "source": "/to/use-profile-mode", "destination": "/perf/ui-performance#run-in-profile-mode", "type": 301 },
922923
{ "source": "/to/wasm", "destination": "/platform-integration/web/wasm", "type": 301 },
924+
{ "source": "/to/wasm-errors", "destination": "/platform-integration/web/wasm#diagnosing-wasm-compilation-errors", "type": 301 },
923925
{ "source": "/to/web-bootstrapping", "destination": "/platform-integration/web/initialization", "type": 301 },
924926
{ "source": "/to/web-html-renderer-deprecation", "destination": "https://github.com/flutter/flutter/issues/145954", "type": 301 },
925927
{ "source": "/to/web-images", "destination": "/platform-integration/web/web-images", "type": 301 },

‎sites/docs/src/content/ai/agent-skills.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ tailored specifically for our frameworks.
5454
Select your AI coding agent below for instructions on how to install the official
5555
Flutter and Dart agent skills.
5656

57-
<Tabs key="ai-client-tabs">
57+
<Tabs key="ai-client-tabs" wrapped="true">
5858
<Tab name="Claude Code">
5959

6060
If you use Claude Code, install the official Flutter plugin.

‎sites/docs/src/content/cookbook/plugins/picture-using-camera.md‎

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -59,16 +59,15 @@ $ flutter pub add camera path_provider path
5959
```
6060

6161
:::tip
62-
- For android, You must update `minSdkVersion` to 21 (or higher).
63-
- On iOS, the following lines must be added inside
64-
`ios/Runner/Info.plist` to the access the camera and microphone.
65-
66-
```xml
67-
<key>NSCameraUsageDescription</key>
68-
<string>Explanation on why the camera access is needed.</string>
69-
<key>NSMicrophoneUsageDescription</key>
70-
<string>Explanation on why the microphone access is needed.</string>
71-
```
62+
On iOS, the following lines must be added inside
63+
`ios/Runner/Info.plist` to access the camera and microphone:
64+
65+
```xml
66+
<key>NSCameraUsageDescription</key>
67+
<string>Explanation on why the camera access is needed.</string>
68+
<key>NSMicrophoneUsageDescription</key>
69+
<string>Explanation on why the microphone access is needed.</string>
70+
```
7271
:::
7372

7473
## 2. Get a list of the available cameras

‎sites/docs/src/content/llms.txt‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ This file provides a curated list of resources to help Large Language Models und
1515

1616
## Latest release
1717

18-
- [What's new in Flutter 3.41](https://blog.flutter.dev/whats-new-in-flutter-3-41-302ec140e632): The official announcement for the 3.41 release of Flutter.
19-
- [Announcing Dart 3.11](https://blog.dart.dev/announcing-dart-3-11-b6529be4203a): The official announcement for the 3.11 release of Dart.
18+
- [What's new in Flutter 3.44](https://flutter.dev/blog/whats-new-in-flutter-3-44): The official announcement for the 3.44 release of Flutter.
19+
- [Announcing Dart 3.12](https://dart.dev/blog/announcing-dart-3-12): The official announcement for the 3.12 release of Dart.
2020

2121
## Learning resources
2222

@@ -168,7 +168,7 @@ This file provides a curated list of resources to help Large Language Models und
168168
- [Flutter blog](https://blog.flutter.dev): The official blog for the Flutter project.
169169
- [Flutter release notes](https://docs.flutter.dev/release/release-notes): Detailed notes on what's new in each release.
170170
- [Flutter breaking changes and migration guides](https://docs.flutter.dev/release/breaking-changes): Breaking changes and migration guides for each Flutter release.
171-
- [Dart blog](https://blog.dart.dev): The official blog for the Dart language.
171+
- [Dart blog](https://dart.dev/blog): The official blog for the Dart language.
172172
- [Dart breaking changes](https://dart.dev/resources/breaking-changes): A list of breaking changes for each Dart release.
173173

174174
## API reference

‎sites/docs/src/content/platform-integration/android/platform-views.md‎

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -482,18 +482,6 @@ For more information, visit the API docs for:
482482
[`PlatformViewFactory`]: {{site.api}}/javadoc/io/flutter/plugin/platform/PlatformViewFactory.html
483483
[`PlatformViewRegistry`]: {{site.api}}/javadoc/io/flutter/plugin/platform/PlatformViewRegistry.html
484484

485-
Finally, modify your `build.gradle` file
486-
to require one of the minimal Android SDK versions:
487-
488-
```kotlin
489-
android {
490-
defaultConfig {
491-
minSdk = 19 // if using hybrid composition
492-
minSdk = 20 // if using virtual display.
493-
}
494-
}
495-
```
496-
497485
### Manual view invalidation
498486

499487
Certain Android Views don't invalidate themselves when their content changes.

0 commit comments

Comments
 (0)