Skip to content

[sync] 2025/02/13 #1544

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 125 commits into from
Feb 17, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
125 commits
Select commit Hold shift + click to select a range
01b001d
fix: move child to right widget in dependency injection page (#11529)
forbesye Dec 26, 2024
39fee17
Fix image suffix mismatch in asset descriptions (#11542)
zm999999 Dec 26, 2024
fdfbca0
Fix widget catalog category pages being empty due to liquidjs regress…
parlough Dec 26, 2024
2e7ec92
fix: corrected typo in documentation ("view mo" to "view model") (#11…
roundspecs Jan 1, 2025
3a5baf5
Fix typo on Intro to Dart page (#11556)
Beatzoid Jan 1, 2025
605f81f
Fix ValueNotifier example in state-management.md (#11553)
GIT-chandra Jan 1, 2025
95f5d7b
Update wide-gamut-framework.md (#11525)
olof-dev Jan 1, 2025
caeab5c
Bump site-shared from `34aaa5c` to `543ceb8` (#11560)
dependabot[bot] Jan 2, 2025
c0941de
Add a missing space before `canvaskit` (#11571)
w-hat Jan 6, 2025
b868a66
Fixed markdown formatting for file names in documentation (#11565)
AmanKhatri-ai Jan 6, 2025
80485b2
Updated incorrect file name in documentation (#11566)
AmanKhatri-ai Jan 6, 2025
06d8df4
Update deep link guide with a note for version earlier than 3.27 (#11…
hannah-hyj Jan 6, 2025
792cdcd
Fixed Italic Highlight on App Architecture Page (#11580)
piedcipher Jan 10, 2025
6acb7e9
Replace the type `number` with `num` in ARB files (#11576)
tatsuyafujisaki Jan 10, 2025
3de25c1
Fixed Broken URL in Dart Fundamentals (#11578)
piedcipher Jan 10, 2025
6490132
Add DevTools release notes for `2.42.0` (#11577)
elliette Jan 10, 2025
aef2c6c
Fix ui-layer.md typo (#11557)
CrotchBurnt Jan 10, 2025
26fa10c
Updating unworking zsh script for adding flutter into the PATH (#11567)
SuwonJ Jan 10, 2025
2a4b60f
Add "Flutter Design Patterns and Best Practices" to books page (#11562)
TahaTesser Jan 10, 2025
92892c9
Update result.md to add a missing space (#11585)
piedcipher Jan 13, 2025
81f98c7
Bump github/codeql-action from 3.28.0 to 3.28.1 (#11587)
dependabot[bot] Jan 13, 2025
b900c3c
Add More widgets under 'Animation and motion' in Widget Catalogue (#1…
piedcipher Jan 13, 2025
b483ba9
Update recommendations.md (#11582)
gianlucaromeo Jan 13, 2025
db6d0ba
Adding Amanda to the "blessed" codeowners. (#11588)
sfshaza2 Jan 14, 2025
9b7f363
Adding AI to the main tabs (#11584)
sfshaza2 Jan 14, 2025
ee6eec4
Remove explanation for service worker settings (#11592)
NilsPvR Jan 15, 2025
664ed7b
Changing a note to a warning and changing master -> main (#11593)
sfshaza2 Jan 16, 2025
c7bb137
Mark `WebGoldenComparator` deprecated. (#11597)
matanlurey Jan 17, 2025
17636f3
Fix more engine links after monorepo (#11596)
loic-sharma Jan 17, 2025
ad0b969
Update links to `main` branch (#11601)
loic-sharma Jan 17, 2025
85b5246
Clean up copy and formatting on Android deployment page (#11609)
parlough Jan 21, 2025
5ec6ab1
Update Flutter engine license location (#11594)
loic-sharma Jan 21, 2025
14a3821
Issue-11599: update dart:js_interop hyperlink (#11600)
CellCS Jan 21, 2025
e99c9f9
Typo in Update buttons.md (#11605)
ragupari Jan 21, 2025
66c6b7a
Update ~ to $HOME to fix issues with programs using dart/flutter exec…
TravisKraemer Jan 21, 2025
330f79e
Update context-menus.md link references (#11602)
jonathanmach Jan 21, 2025
9a0208a
Navigate to a new screen ... > Add additional navigation methods (#1…
antfitch Jan 22, 2025
6a3bb0b
Bump github/codeql-action from 3.28.1 to 3.28.2 (#11611)
dependabot[bot] Jan 22, 2025
fa5fb23
Corrects Swift background threads example (#11610)
feduke-nukem Jan 23, 2025
a2ffb54
Bump github/codeql-action from 3.28.2 to 3.28.3 (#11614)
dependabot[bot] Jan 23, 2025
9b85390
Bump site-shared from `34aaa5c` to `543ceb8` (#11613)
dependabot[bot] Jan 23, 2025
aa4a555
Bump github/codeql-action from 3.28.3 to 3.28.4 (#11616)
dependabot[bot] Jan 24, 2025
c47f28b
Updating the doc on how Flutter is architected. (#11524)
sfshaza2 Jan 24, 2025
729412b
Update `platforms.yml` to indicate that api 35 is supported. (#11617)
reidbaker Jan 24, 2025
3e32a76
[SwiftPM] Update instructions to increase OS version (#11620)
loic-sharma Jan 25, 2025
6d0ec9f
Bump actions/setup-node from 4.1.0 to 4.2.0 (#11626)
dependabot[bot] Jan 27, 2025
73ff19f
Bump github/codeql-action from 3.28.4 to 3.28.5 (#11625)
dependabot[bot] Jan 27, 2025
fec8800
Update footer for new redesign (#11623)
parlough Jan 27, 2025
0cf8efd
Remove a few bootstrap variable and util usages (#11624)
parlough Jan 27, 2025
4110db6
Minor Website Text Correction (#11618)
wizston Jan 27, 2025
45198f6
Create a "Flutter for Jetpack Compose developers" page (#11232)
jwill Jan 27, 2025
fcc0836
Add documentation for `RefreshIndicator.adaptive()` in platform adapt…
reza00farjam Jan 27, 2025
4a1880b
Add a few new requested FAQs (#11619)
antfitch Jan 27, 2025
7d525fd
Bump github/codeql-action from 3.28.5 to 3.28.6 (#11631)
dependabot[bot] Jan 28, 2025
3291c1b
Move animation conceptual content out of tutorial and into introducti…
antfitch Jan 28, 2025
c0b2480
Update the Flutter SDK Archive (#11621)
antfitch Jan 28, 2025
88a381e
Add documentation for the new Flutter inspector (#11629)
elliette Jan 28, 2025
dbfeb9a
Update to new layout and sidenav (#11630)
parlough Jan 29, 2025
4cbc9b6
More accessible alert/aside style (#11639)
parlough Jan 29, 2025
5ea8892
Fix unclosed code font span on data layer page (#11634)
parlough Jan 29, 2025
9f5db92
Update outdated data and backend links causing redirects (#11635)
parlough Jan 29, 2025
f730e5a
Add hover interaction styles to header buttons and links (#11638)
parlough Jan 29, 2025
08c6263
Add cache bust to avoid layout issues with latest changes (#11636)
parlough Jan 29, 2025
f31fa9d
Remove most of the remaining bootstrap util usages (#11637)
parlough Jan 29, 2025
332b9df
More updates to new inspector docs (#11642)
elliette Jan 30, 2025
38ae7fd
Bump github/codeql-action from 3.28.6 to 3.28.8 (#11645)
dependabot[bot] Jan 30, 2025
1b34597
Removal and replacement of bootstrap (#11644)
parlough Jan 31, 2025
9240929
Update current version for Flutter 3.27.3 (#11652)
parlough Jan 31, 2025
e9676ba
Update DevTools release notes for cherry pick release (#11653)
kenzieschmoll Jan 31, 2025
7529e04
Added a blurb about CurveTween in the Animations intro doc (#11643)
antfitch Jan 31, 2025
18e8ab8
Update npm dependencies, particularly shiki (#11654)
parlough Jan 31, 2025
47c1ec6
Add border-radius to button for consistency with flutter.dev (#11664)
zalabhavy Feb 3, 2025
373566f
Properly center text of cookie notice (#11662)
parlough Feb 3, 2025
ba8c573
Ensure body is scrollable if sidenav is dismissed (#11660)
parlough Feb 3, 2025
10d98eb
Remove unnecessary and unused policies from headers (#11665)
parlough Feb 3, 2025
61a368c
Add test orientation recipe (#11657)
antfitch Feb 3, 2025
65e99ca
Grammatical polish for grammatical number and subject-verb agreement …
uchronia Feb 3, 2025
013397d
Fixed minor typo from "it can simply code" to "it can simplify code" …
uchronia Feb 3, 2025
0bf2498
Fix inaccuracy in src/content/app-architecture/case-study/index.md. (…
iveloff-developer Feb 3, 2025
4b02cd9
Stop including jquery in site (#11655)
parlough Feb 3, 2025
35bda67
Update corepack to fix linkcheck workflow failure (#11667)
parlough Feb 3, 2025
0fae876
Add dropdown to switch between Flutter-related sites (#11659)
parlough Feb 3, 2025
3e29436
Add cache bust for new dropdown functionality (#11668)
parlough Feb 3, 2025
b16becd
Use consistent terminology around MVVM (#11647)
iveloff-developer Feb 3, 2025
ce68a78
Debug Flutter apps from code > make platform agnostic (#11669)
antfitch Feb 4, 2025
88a475b
Sync: 2025/02/04
AmosHuKe Feb 4, 2025
cda666f
Sync: 2025/02/04
AmosHuKe Feb 4, 2025
b1df773
Sync: 2025/02/04
AmosHuKe Feb 4, 2025
7c1a642
Fix link reference in /get-started/flutter-for/android-devs.md (#11671)
AmosHuKe Feb 4, 2025
9562960
Clarify that deferred components is only for Android and web (#11676)
antfitch Feb 5, 2025
73d10df
Remove flutter_gdb from docs (it's deprecated). (#11679)
antfitch Feb 5, 2025
d4f7a1e
Added new course to courses.md (#11663)
ishaquehassan Feb 5, 2025
7f1a604
Minor updates to new orientation recipe (#11682)
parlough Feb 6, 2025
a8b3d5e
Enable forcing a specific tab with query parameters (#11681)
parlough Feb 6, 2025
b3f9e58
Update integration testing docs for Android and iOS. (#11680)
antfitch Feb 6, 2025
87d9606
Update search bar style to be more consistent with rest of header (#1…
zalabhavy Feb 6, 2025
33ee2f2
Update a few deep link notes to support iOS (#11687)
antfitch Feb 6, 2025
1f84c1e
Make sure install help button styles take priority (#11686)
parlough Feb 6, 2025
b21a14b
Update "Obfuscate your app" topic to be more platform agnostic. (#11690)
antfitch Feb 10, 2025
1612d55
Bump github/codeql-action from 3.28.8 to 3.28.9 (#11696)
dependabot[bot] Feb 10, 2025
986fdfa
Remove reference to Visual Samples Index (#11699)
ericwindmill Feb 10, 2025
5d44cab
Remove redundant usages of `useMaterial3` (#11693)
2shrestha22 Feb 10, 2025
24998ed
Updated the "why" for the withOpacity deprecation. (#11700)
gaaclarke Feb 10, 2025
9b70bc9
Fix layout of side-by-side code and content on mobile (#11692)
parlough Feb 10, 2025
ef96f99
Make background parsing a little more platform agnostic. (#11689)
antfitch Feb 10, 2025
4f089c1
Update performance profiling docs. (#11688)
antfitch Feb 10, 2025
9231beb
Ios integration tests (#11703)
antfitch Feb 10, 2025
7e2d11b
Update wasm docs to be clear that additional headers are now optional…
kevmoo Feb 11, 2025
2b3d2d6
Allow any attributes from markdown-attrs (#11705)
parlough Feb 11, 2025
4fba795
Adding "Flutter for JetPack compose devs" to the sidenav (#11704)
sfshaza2 Feb 11, 2025
b3770d6
Add breaking change page for completing Navigator behavior (#11684)
EArminjon Feb 11, 2025
6c75b32
Migration guide for the material theme system updates (#11707)
QuncCccccc Feb 11, 2025
b4de344
Update buttons.md (#11691)
FlamongoBird Feb 11, 2025
d69db60
Further feedback for Flutter web (#11628)
sfshaza2 Feb 11, 2025
b411674
Analyze and format with Dart 3.7 (#11702)
parlough Feb 12, 2025
28192d7
Add back support for showing announcement banner (#11712)
parlough Feb 12, 2025
65a7fc3
[release] Add 3.29 changes (#11698)
itsjustkevin Feb 12, 2025
5edffa8
Add banner for 3.29 release (#11713)
parlough Feb 12, 2025
2b22a9c
Include a java too new path in android-java-gradle-migration (#11708)
reidbaker Feb 12, 2025
f6f74f0
Update breaking changes index for 3.29 release (#11715)
parlough Feb 12, 2025
fc6328c
Update what's new page for 3.29 (#11714)
sfshaza2 Feb 12, 2025
ac16ca2
Fix: src/content/platform-integration/ios/c-interop.md
AmosHuKe Feb 13, 2025
897b954
Sync: 2025/02/13
AmosHuKe Feb 13, 2025
5909d7b
Sync: 2025/02/13
AmosHuKe Feb 13, 2025
c48b2e2
Sync: 2025/02/13
AmosHuKe Feb 13, 2025
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
  •  
  •  
  •  
18 changes: 9 additions & 9 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ jobs:
include:
- name: "Beta channel"
branch: beta
experimental: true
experimental: false
- name: "Stable channel"
branch: stable
experimental: false
experimental: true
continue-on-error: ${{ matrix.experimental }}
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
Expand Down Expand Up @@ -60,7 +60,7 @@ jobs:
submodules: recursive
- uses: dart-lang/setup-dart@e630b99d28a3b71860378cafdc2a067c71107f94
with:
sdk: stable
sdk: beta
- name: Fetch Dart dependencies
run: dart pub get
- name: Check if excerpts are up to date
Expand All @@ -77,8 +77,8 @@ jobs:
with:
submodules: recursive
- name: Enable Corepack
run: corepack enable
- uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af
run: npm i -g corepack@latest && corepack enable
- uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a
with:
node-version: ${{ env.NODE_VERSION }}
cache: 'pnpm'
Expand All @@ -88,7 +88,7 @@ jobs:
run: pnpm install --frozen-lockfile
- uses: dart-lang/setup-dart@e630b99d28a3b71860378cafdc2a067c71107f94
with:
sdk: stable
sdk: beta
- name: Fetch Dart dependencies
run: dart pub get
- name: Build site
Expand All @@ -111,7 +111,7 @@ jobs:
submodules: recursive
- uses: dart-lang/setup-dart@e630b99d28a3b71860378cafdc2a067c71107f94
with:
sdk: stable
sdk: beta
- name: Fetch Dart dependencies
run: dart pub get
- name: Validate the firebase.json file
Expand All @@ -133,7 +133,7 @@ jobs:
fetch-depth: 0
- name: Enable Corepack
run: corepack enable
- uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af
- uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a
with:
node-version: ${{ env.NODE_VERSION }}
cache: 'pnpm'
Expand All @@ -143,7 +143,7 @@ jobs:
run: pnpm install --frozen-lockfile
- uses: dart-lang/setup-dart@e630b99d28a3b71860378cafdc2a067c71107f94
with:
sdk: stable
sdk: beta
- name: Fetch Dart dependencies
run: dart pub get
- name: Build site
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/stage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
fetch-depth: 0
- name: Enable Corepack
run: corepack enable
- uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af
- uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a
with:
node-version: ${{ env.NODE_VERSION }}
cache: 'pnpm'
Expand All @@ -37,7 +37,7 @@ jobs:
run: pnpm install --frozen-lockfile
- uses: dart-lang/setup-dart@e630b99d28a3b71860378cafdc2a067c71107f94
with:
sdk: stable
sdk: beta
- name: Fetch Dart dependencies
run: dart pub get
- name: Build site
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,5 +60,5 @@ Happy Fluttering!
[doc-PRs]: https://github.com/flutter/website/pulls
[so]: https://stackoverflow.com/tags/flutter
[mailinglist]: https://groups.google.com/d/forum/flutter-dev
[chat]: https://github.com/flutter/flutter/blob/master/docs/contributing/Chat.md
[chat]: https://github.com/flutter/flutter/blob/main/docs/contributing/Chat.md
[reddit]: https://www.reddit.com/r/FlutterDev
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ and we'll try our best to help you.
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/master/docs/contributing/Chat.md
[Flutter contributors Discord]: https://github.com/flutter/flutter/blob/main/docs/contributing/Chat.md

### Refresh code excerpts

Expand Down
133 changes: 133 additions & 0 deletions diagrams/resources/web-framework-diagram.drawio

Large diffs are not rendered by default.

22 changes: 5 additions & 17 deletions examples/_animation/basic_hero_animation/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -12,19 +12,15 @@ class BasicHeroAnimation extends StatelessWidget {
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: const Text('Basic Hero Animation'),
),
appBar: AppBar(title: const Text('Basic Hero Animation')),
body: Center(
child: InkWell(
onTap: () {
Navigator.of(context).push(
MaterialPageRoute<void>(
builder: (context) {
return Scaffold(
appBar: AppBar(
title: const Text('Flippers Page'),
),
appBar: AppBar(title: const Text('Flippers Page')),
body: Container(
padding: const EdgeInsets.all(8),
alignment: Alignment.topLeft,
Expand All @@ -34,9 +30,7 @@ class BasicHeroAnimation extends StatelessWidget {
tag: 'flippers',
child: SizedBox(
width: 100,
child: Image.asset(
'images/flippers-alpha.png',
),
child: Image.asset('images/flippers-alpha.png'),
),
),
),
Expand All @@ -48,9 +42,7 @@ class BasicHeroAnimation extends StatelessWidget {
// Main route
child: Hero(
tag: 'flippers',
child: Image.asset(
'images/flippers-alpha.png',
),
child: Image.asset('images/flippers-alpha.png'),
),
),
),
Expand All @@ -59,9 +51,5 @@ class BasicHeroAnimation extends StatelessWidget {
}

void main() {
runApp(
const MaterialApp(
home: BasicHeroAnimation(),
),
);
runApp(const MaterialApp(home: BasicHeroAnimation()));
}
2 changes: 1 addition & 1 deletion examples/_animation/basic_hero_animation/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ description: >-

resolution: workspace
environment:
sdk: ^3.6.0
sdk: ^3.7.0-0

dependencies:
flutter:
Expand Down
43 changes: 19 additions & 24 deletions examples/_animation/basic_radial_hero_animation/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -25,21 +25,15 @@ class Photo extends StatelessWidget {
color: Theme.of(context).primaryColor.withValues(alpha: 0.25),
child: InkWell(
onTap: onTap,
child: Image.asset(
photo,
fit: BoxFit.contain,
),
child: Image.asset(photo, fit: BoxFit.contain),
),
);
}
}

class RadialExpansion extends StatelessWidget {
const RadialExpansion({
super.key,
required this.maxRadius,
this.child,
}) : clipRectExtent = 2.0 * (maxRadius / math.sqrt2);
const RadialExpansion({super.key, required this.maxRadius, this.child})
: clipRectExtent = 2.0 * (maxRadius / math.sqrt2);

final double maxRadius;
final double clipRectExtent;
Expand All @@ -55,9 +49,7 @@ class RadialExpansion extends StatelessWidget {
child: SizedBox(
width: clipRectExtent,
height: clipRectExtent,
child: ClipRect(
child: child,
),
child: ClipRect(child: child),
),
),
);
Expand All @@ -69,15 +61,21 @@ class RadialExpansionDemo extends StatelessWidget {

static double kMinRadius = 32;
static double kMaxRadius = 128;
static Interval opacityCurve =
const Interval(0.0, 0.75, curve: Curves.fastOutSlowIn);
static Interval opacityCurve = const Interval(
0.0,
0.75,
curve: Curves.fastOutSlowIn,
);

static RectTween _createRectTween(Rect? begin, Rect? end) {
return MaterialRectCenterArcTween(begin: begin, end: end);
}

static Widget _buildPage(
BuildContext context, String imageName, String description) {
BuildContext context,
String imageName,
String description,
) {
return Container(
color: Theme.of(context).canvasColor,
alignment: FractionalOffset.center,
Expand All @@ -102,7 +100,10 @@ class RadialExpansionDemo extends StatelessWidget {
}

Widget _buildHero(
BuildContext context, String imageName, String description) {
BuildContext context,
String imageName,
String description,
) {
return SizedBox(
width: kMinRadius * 2,
height: kMinRadius * 2,
Expand Down Expand Up @@ -141,9 +142,7 @@ class RadialExpansionDemo extends StatelessWidget {
timeDilation = 20.0; // 1.0 is normal animation speed.

return Scaffold(
appBar: AppBar(
title: const Text('Basic Radial Hero Animation Demo'),
),
appBar: AppBar(title: const Text('Basic Radial Hero Animation Demo')),
body: Container(
padding: const EdgeInsets.all(32),
alignment: FractionalOffset.bottomLeft,
Expand All @@ -161,9 +160,5 @@ class RadialExpansionDemo extends StatelessWidget {
}

void main() {
runApp(
const MaterialApp(
home: RadialExpansionDemo(),
),
);
runApp(const MaterialApp(home: RadialExpansionDemo()));
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ description: >-

resolution: workspace
environment:
sdk: ^3.6.0
sdk: ^3.7.0-0

dependencies:
flutter:
Expand Down
Loading