Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
153 commits
Select commit Hold shift + click to select a range
dd35124
03e6adfb6 Roll Packages from cde5b36e7ece to daf30f846815 (9 revision…
engine-flutter-autoroll May 12, 2026
eaf6e43
eeb2b2ec4 Roll Skia from 7ac6d42f2fd0 to 1d533738ea9d (1 revision) (f…
engine-flutter-autoroll May 12, 2026
9f44093
0d5d3943a Roll Dart SDK from 9aa7097f2e3e to 02bef77a30de (1 revision…
engine-flutter-autoroll May 12, 2026
1631077
e16768b3a Update iOS tools to fat binaries (flutter/flutter#185868)
engine-flutter-autoroll May 12, 2026
7c6b31f
3ca8471ce Fix App binary path for SwiftPM Add2App on macOS (flutter/f…
engine-flutter-autoroll May 12, 2026
095a50e
ba2d6a451 Roll Skia from 1d533738ea9d to eb79f275731c (2 revisions) (…
engine-flutter-autoroll May 12, 2026
cb2ff8c
acd5e1a75 [Flutter GPU] Carry vec_size & columns in shader bundle uni…
engine-flutter-autoroll May 12, 2026
541ce0f
2031991fd Roll Dart SDK from 02bef77a30de to 4223fc4189e0 (1 revision…
engine-flutter-autoroll May 12, 2026
6689402
05e3707c4 Roll Skia from eb79f275731c to 850f615f8866 (2 revisions) (…
engine-flutter-autoroll May 12, 2026
7bf37ea
c8cbdf7b8 refactor: remove material import froma sliver_main_axis_gro…
engine-flutter-autoroll May 12, 2026
8e6f9b0
2ac1debae Migrate VSyncClientTest to Swift (flutter/flutter#185893)
engine-flutter-autoroll May 12, 2026
44b775b
7109b64ae Roll Skia from 850f615f8866 to 0374b13b6f3a (3 revisions) (…
engine-flutter-autoroll May 12, 2026
b10a27b
c261f65ce Roll Dart SDK from 4223fc4189e0 to 908050e88864 (2 revision…
engine-flutter-autoroll May 12, 2026
538c5b5
4fb92ce52 Roll Skia from 0374b13b6f3a to dba763e9ecab (1 revision) (f…
engine-flutter-autoroll May 12, 2026
751aa29
23756b2bb Roll Fuchsia Linux SDK from VnzuUefDQR0UhQ1L1... to WyTD9K8…
engine-flutter-autoroll May 12, 2026
1534a21
79557800f Roll Skia from dba763e9ecab to 05cb3698267d (1 revision) (f…
engine-flutter-autoroll May 12, 2026
60db5ee
53adb3f2a Ensure windows are realized before the first frame received…
engine-flutter-autoroll May 12, 2026
3a615ae
18d78e9b5 Fix pointer position (flutter/flutter#185850)
engine-flutter-autoroll May 12, 2026
e68c13b
b9aed0506 fix: prevent null crash in debugTogglePlatform when vmServi…
engine-flutter-autoroll May 12, 2026
7423400
4547a53ff Roll Fuchsia Linux SDK from WyTD9K86zyMe-FSg0... to bfp-YJP…
engine-flutter-autoroll May 12, 2026
23193d1
d14fdc45d Make the welcome message output to stderr if --machine (flu…
engine-flutter-autoroll May 12, 2026
9c9982c
526e7705c flutter_tools: Remove unused parameters (flutter/flutter#18…
engine-flutter-autoroll May 12, 2026
6d6a578
90c2002bb Roll Skia from 05cb3698267d to 76254dcfe35d (5 revisions) (…
engine-flutter-autoroll May 12, 2026
e0db39d
e646014b7 Roll pub packages (flutter/flutter#185986)
engine-flutter-autoroll May 12, 2026
c2e3fb4
a12f3611c Bundle a local Roboto fallback for no-CDN web builds (flutt…
engine-flutter-autoroll May 12, 2026
5431731
ced33ee62 Roll Packages from daf30f846815 to a2ad7e3af184 (5 revision…
engine-flutter-autoroll May 12, 2026
b00008a
70fae0861 [Impeller] Always use RGBA8888 format in the Skia bitmap us…
engine-flutter-autoroll May 12, 2026
c8af185
cb4d82a12 Makes it so ubersdf contents can be collapsed to clear colo…
engine-flutter-autoroll May 12, 2026
eb9b59b
10095b3d3 And static library and impellerc binary to impeller_sdk (fl…
engine-flutter-autoroll May 12, 2026
5f6e306
590da1a1a Restrict PlatformViewCreationRequest constructor visibility…
engine-flutter-autoroll May 12, 2026
2a8f436
fa1b141f4 Fix flutter_tools crashing on invalid UTF-8 in log output (…
engine-flutter-autoroll May 12, 2026
3615b34
70f93c071 Roll Skia from 76254dcfe35d to 8e39cd2188a2 (11 revisions) …
engine-flutter-autoroll May 12, 2026
f27a046
6b37cca68 Roll Dart SDK from 908050e88864 to 5dbfbf6487d2 (3 revision…
engine-flutter-autoroll May 12, 2026
504b7df
4f0c3c5ac [iOS] Migrate to explicit VSyncClient initialisers (flutter…
engine-flutter-autoroll May 12, 2026
5026b66
6d1fbcf61 Roll Skia from 8e39cd2188a2 to ca0dd7da93a9 (3 revisions) (…
engine-flutter-autoroll May 12, 2026
1978b52
d33790c88 Roll Skia from ca0dd7da93a9 to 4e820f192226 (1 revision) (f…
engine-flutter-autoroll May 12, 2026
2292520
c5b479f87 engine: remove ToString() from Vector3/Vector4 and ColorToS…
engine-flutter-autoroll May 12, 2026
90bdbed
4cad8f57c Roll Skia from 4e820f192226 to 85da0822ffec (3 revisions) (…
engine-flutter-autoroll May 12, 2026
ba6e3e1
d2184011a Run the DisplayList Primitive Rendering benchmarks in post-…
engine-flutter-autoroll May 12, 2026
8a40d9a
02001f8f2 Roll Skia from 85da0822ffec to 503b7a1d9c19 (2 revisions) (…
engine-flutter-autoroll May 12, 2026
bdecb68
02a06a851 Add Linux implementation of popup windows (flutter/flutter#…
engine-flutter-autoroll May 12, 2026
32d5c12
ff31522f8 AGP 9 template (flutter/flutter#185953)
engine-flutter-autoroll May 12, 2026
840e32b
056bffb59 Roll Packages from a2ad7e3af184 to 1ef39dcbe244 (1 revision…
engine-flutter-autoroll May 12, 2026
dd77e79
2ddc3d597 Roll Dart SDK from 5dbfbf6487d2 to 28ef48bc86d5 (1 revision…
engine-flutter-autoroll May 12, 2026
43cefa3
e138a251c Cache plugin registrant in test compiler (flutter/flutter#1…
engine-flutter-autoroll May 12, 2026
c7df0cc
fbeb60653 Roll Skia from 503b7a1d9c19 to e4012ccf0df0 (2 revisions) (…
engine-flutter-autoroll May 12, 2026
4218b02
789b8d42d [flutter_tools] Allow using print (flutter/flutter#185650)
engine-flutter-autoroll May 12, 2026
9f5ac91
aaf0b825e [web] Delete some remaining HTML renderer references (flutt…
engine-flutter-autoroll May 12, 2026
c433a2d
82319a1f7 Fix MergeSemantics resolving wrong handler for custom actio…
engine-flutter-autoroll May 12, 2026
36be01e
2f145e855 Fix Broken Flutter Docs Link (flutter/flutter#186042)
engine-flutter-autoroll May 12, 2026
0d848d0
a5181cb60 [Android] Test: assert supported dependency versions match …
engine-flutter-autoroll May 12, 2026
f90005d
c7d298205 Clean up `animation_controller.dart` (flutter/flutter#182338)
engine-flutter-autoroll May 12, 2026
b39aa93
a270a23a6 Exclude the RawAutocomplete options overlay from the ambien…
engine-flutter-autoroll May 12, 2026
2c845ec
a84ee2dec refactor: Save event data by pointer in an extensible _Reco…
engine-flutter-autoroll May 12, 2026
1f38150
9211e925c Roll pub packages (flutter/flutter#186103)
engine-flutter-autoroll May 12, 2026
c0d6b6f
a7551b900 Roll Fuchsia Linux SDK from bfp-YJPHG5xWSLATa... to ZgIKVyb…
engine-flutter-autoroll May 12, 2026
a7235e2
9308c50b8 Roll Skia from e4012ccf0df0 to 1ffe7a88453d (8 revisions) (…
engine-flutter-autoroll May 12, 2026
6b7655f
c60e5ba00 [Impeller] Clarify CoversArea behavior and change arg to IR…
engine-flutter-autoroll May 12, 2026
3d0b043
88412fd01 [iOS] Eliminate VSyncClient C++ initialiser (flutter/flutte…
engine-flutter-autoroll May 12, 2026
0159544
15af0eb80 Roll Skia from 1ffe7a88453d to a3b5123cfaa2 (1 revision) (f…
engine-flutter-autoroll May 12, 2026
fbe8caf
44e39b1cc [iOS][macOS] Handle Swift extensions in framework exports c…
engine-flutter-autoroll May 12, 2026
cbddfb7
858267db5 Roll Skia from a3b5123cfaa2 to 9e1964abd3a4 (2 revisions) (…
engine-flutter-autoroll May 12, 2026
ddfca76
c4d73ace0 Roll Skia from 9e1964abd3a4 to f1b6a8479d14 (2 revisions) (…
engine-flutter-autoroll May 12, 2026
76a9d3b
cc4c9980b [iOS] Add FlutterTracing to support tracing from Swift (flu…
engine-flutter-autoroll May 12, 2026
184c50e
e209bda61 Skip xattr removal for Swift package cache (flutter/flutter…
engine-flutter-autoroll May 12, 2026
6ecd941
8c9ddc0d5 Roll Packages from 1ef39dcbe244 to 67ec0d36293e (3 revision…
engine-flutter-autoroll May 12, 2026
2618954
13b4a2210 Remove Xcode version override for animation_with_microtasks…
engine-flutter-autoroll May 12, 2026
1c0fc1e
021d999d4 Adds ability to turn off sdfs with paint. (flutter/flutter#…
engine-flutter-autoroll May 12, 2026
b841a58
21b827ac0 Remove semantics_tester cross-import from segmented_button_…
engine-flutter-autoroll May 12, 2026
1e8b3e4
30dbe066d Remove semantics_tester import from cupertino/slider_test.d…
engine-flutter-autoroll May 12, 2026
0ccd53b
3caef5036 [web] Delete the old `BROWSER_IMAGE_DECODING_ENABLED` flag …
engine-flutter-autoroll May 12, 2026
3bc5e92
240c85cf0 Update DisplayList rendering unittests for new SufaceProvid…
engine-flutter-autoroll May 12, 2026
59377f3
f5847b0d9 Use g_realloc instead of realloc (flutter/flutter#185520)
engine-flutter-autoroll May 12, 2026
d010c7a
5d62b3945 Don't leak gesture objects (flutter/flutter#185517)
engine-flutter-autoroll May 12, 2026
554529e
b7d578c64 Make key mapping code match existing embedder style (flutte…
engine-flutter-autoroll May 12, 2026
2813c6c
2e0ecdf38 Roll Skia from f1b6a8479d14 to 605786788e94 (2 revisions) (…
engine-flutter-autoroll May 12, 2026
6a25471
2cf2c3d2c [iOS] Use +Category.h suffix for headers with named categor…
engine-flutter-autoroll May 12, 2026
e6b1c0a
3da669fae Fix inconsistent macOS text stroke weights by supporting li…
engine-flutter-autoroll May 12, 2026
06a8592
564da98cb Roll Skia from 605786788e94 to a52ece789e45 (1 revision) (f…
engine-flutter-autoroll May 12, 2026
6e1f525
2b36357ff Roll Fuchsia Linux SDK from ZgIKVyb6gV-PP_9so... to FhyXCyv…
engine-flutter-autoroll May 12, 2026
03a3458
acf36225b Roll Skia from a52ece789e45 to 6b568d3717ca (2 revisions) (…
engine-flutter-autoroll May 12, 2026
f3b4cf8
68fb7a73b Roll Skia from 6b568d3717ca to 2447c273d06c (2 revisions) (…
engine-flutter-autoroll May 12, 2026
9216cc6
a03fe9e5d Roll Skia from 2447c273d06c to 799f4eda0f93 (1 revision) (f…
engine-flutter-autoroll May 12, 2026
bcb66e8
f60631963 Roll Packages from 67ec0d36293e to 0411f1deabb4 (2 revision…
engine-flutter-autoroll May 12, 2026
22f3408
e00d0fcf3 Roll Skia from 799f4eda0f93 to 3c73323d1268 (1 revision) (f…
engine-flutter-autoroll May 12, 2026
984945a
4b864f7be Make logger a public getter in mixin to fix crash (flutter/…
engine-flutter-autoroll May 12, 2026
40d915f
625275cfa Roll Dart 3.13 beta1 into Flutter (flutter/flutter#186131)
engine-flutter-autoroll May 12, 2026
3cf2d2e
30ad8ca92 [iOS] Pass NSTimeInterval instead of microseconds to Vsync …
engine-flutter-autoroll May 12, 2026
c96e81e
cb6eaf798 Update Flutter logo image sources in README (flutter/flutte…
engine-flutter-autoroll May 12, 2026
d5f5281
26600b690 Visit missing children which are removed in `childrenInHitT…
engine-flutter-autoroll May 12, 2026
0786beb
51af41bb7 [flutter_tools] Simplify catch with wildcard (flutter/flutt…
engine-flutter-autoroll May 12, 2026
9896851
146e6ae43 Update semantics accessibility block to also block keyboard…
engine-flutter-autoroll May 12, 2026
00105c9
a05715c07 feat(web): implement image decoding throttling for HTML ima…
engine-flutter-autoroll May 12, 2026
81d3e41
bd9ed9541 Update Fuchsia integration tests to use subpackaged runners…
engine-flutter-autoroll May 12, 2026
e0bb122
e5c4fbab2 Roll pub packages (flutter/flutter#186224)
engine-flutter-autoroll May 12, 2026
c64b4ba
291001ef1 [iOS] Migrate VSyncClient to a pure Obj-C implementation (f…
engine-flutter-autoroll May 12, 2026
b864335
28c99d717 Roll Skia from 3c73323d1268 to 3a8795df2c46 (3 revisions) (…
engine-flutter-autoroll May 12, 2026
4262ab1
6ffd48a4c Reverts "Roll pub packages (#186224)" (flutter/flutter#186229)
engine-flutter-autoroll May 12, 2026
beb3343
77427ecac [iOS] Specify Swift version in Flutter Gallery (flutter/flu…
engine-flutter-autoroll May 12, 2026
3cc88b3
7911b8fda Roll Skia from 3a8795df2c46 to 926c09741ce2 (3 revisions) (…
engine-flutter-autoroll May 12, 2026
25dcf70
b35459260 Roll pub packages (flutter/flutter#186240)
engine-flutter-autoroll May 12, 2026
3457c2e
3c64ed3cf [iOS][macOS] ignore Swift Package Manager .build directorie…
engine-flutter-autoroll May 12, 2026
c87493c
405c3aa57 Roll Fuchsia Linux SDK from FhyXCyvc9V-fqyHjt... to 5_TnhTs…
engine-flutter-autoroll May 12, 2026
a9d6a65
7525c7964 Roll Skia from 926c09741ce2 to 5f7adf4403d6 (3 revisions) (…
engine-flutter-autoroll May 12, 2026
57a4ae5
08d8c951b Add logging to figure out jvm crashes for `hot_mode_tests` …
engine-flutter-autoroll May 12, 2026
c568576
f2d0833ed Roll Packages from 0411f1deabb4 to 92552b16bcc1 (1 revision…
engine-flutter-autoroll May 12, 2026
9f2311f
ab5f286a0 Roll Skia from 5f7adf4403d6 to a00db8749edb (1 revision) (f…
engine-flutter-autoroll May 12, 2026
95faf7f
ea9d0ea6f doc: Unified Check-Run User manual (flutter/flutter#186210)
engine-flutter-autoroll May 12, 2026
56cb02c
e4f3f6b05 [triage] Add Flutter GPU as a triage team (flutter/flutter#…
engine-flutter-autoroll May 12, 2026
58ddbf9
8e1aa6402 Optimize compatible `DrawDiffRoundRect` calls to use `DrawR…
engine-flutter-autoroll May 12, 2026
e621d95
2543549ab Roll Skia from a00db8749edb to 31521f8508c7 (2 revisions) (…
engine-flutter-autoroll May 12, 2026
5a836cd
a95f47df9 Reverts "[iOS] Migrate VSyncClient to a pure Obj-C implemen…
engine-flutter-autoroll May 12, 2026
38765a2
7e0fc7f31 Moves wide_gamut_macos to arm64 (flutter/flutter#186214)
engine-flutter-autoroll May 12, 2026
bc607ed
09a759831 Roll Skia from 31521f8508c7 to dc78d4bd2efb (1 revision) (f…
engine-flutter-autoroll May 12, 2026
37a2871
2d424bd28 Improve non rect platform view rendering (flutter/flutter#…
engine-flutter-autoroll May 12, 2026
dff2b5a
a515e75ba Roll Skia from dc78d4bd2efb to 05a03f99c74e (2 revisions) (…
engine-flutter-autoroll May 12, 2026
1dbda13
718d06274 Roll Fuchsia Linux SDK from 5_TnhTsHSqtCx37o6... to sOBiPJb…
engine-flutter-autoroll May 12, 2026
2c80ce5
f74781f62 Fix SelectableText crash with inline lambda contextMenuBuil…
engine-flutter-autoroll May 12, 2026
1d57cce
1887a104c Update Fuchsia tests to subpackage their child components (…
engine-flutter-autoroll May 12, 2026
9096275
3621426ac [Impeller] Vulkan: don't drop user-supplied viewport X, Y, …
engine-flutter-autoroll May 12, 2026
d499818
d79cc862a Roll Skia from 05a03f99c74e to 8cafb209e836 (1 revision) (f…
engine-flutter-autoroll May 12, 2026
ded56ac
a0a5c3bce Roll Fuchsia Linux SDK from sOBiPJb0xznDBZlf5... to rFhU-YP…
engine-flutter-autoroll May 12, 2026
54f27c2
712f869e0 Roll Skia from 8cafb209e836 to 9fb7d2814642 (4 revisions) (…
engine-flutter-autoroll May 12, 2026
68b81e7
10a788db7 Roll Skia from 9fb7d2814642 to 2514f6b5f92b (1 revision) (f…
engine-flutter-autoroll May 12, 2026
d4a8968
af4fb77c8 Check for absolute paths in skills. (flutter/flutter#185632)
engine-flutter-autoroll May 12, 2026
8be8cbe
1072bb6ae Roll Packages from 92552b16bcc1 to 19ec8b861676 (4 revision…
engine-flutter-autoroll May 12, 2026
4346046
aba6abfd5 Roll Skia from 2514f6b5f92b to 32281401997e (1 revision) (f…
engine-flutter-autoroll May 12, 2026
e6d946b
35ed55b8b Remove `currentMainUri` from `generateMainDartWithPluginReg…
engine-flutter-autoroll May 12, 2026
1b0b211
3ee0842a4 Use Xcode's LLDB (flutter/flutter#186273)
engine-flutter-autoroll May 12, 2026
bdb796a
496e76f95 Convert rebuilding-flutter-tool script to dart (flutter/flu…
engine-flutter-autoroll May 12, 2026
50869ba
927c1a624 Show SwiftPM warnings right before iOS/macOS build (flutter…
engine-flutter-autoroll May 12, 2026
6f3c886
b85162a79 Roll Skia from 32281401997e to 91d3c1e730af (4 revisions) (…
engine-flutter-autoroll May 12, 2026
a979ecd
4613306de docs: fix doubled-word typos in comments (flutter/flutter#1…
engine-flutter-autoroll May 12, 2026
2d7714e
037b9163e [ImpellerC] Write a depfile when --shader-bundle is in use …
engine-flutter-autoroll May 12, 2026
9b63b8d
a77a28031 [ci] update no-response workflow to also look for old label…
engine-flutter-autoroll May 12, 2026
d913866
adcd0062c [Android] Propagate --enable-flutter-gpu Intent extra to en…
engine-flutter-autoroll May 12, 2026
6e25667
2fe6ec53c [Impeller] GLES: lazily allocate texture mip levels on firs…
engine-flutter-autoroll May 12, 2026
f530d29
ad84f8d31 Roll Fuchsia Linux SDK from rFhU-YPqdCRCtCz7b... to z7ICmPt…
engine-flutter-autoroll May 12, 2026
a558836
095d8cf5b Fix `EmbedderTest.CanRenderTextWithImpellerMetal` test brea…
engine-flutter-autoroll May 12, 2026
4e72f9a
12d86bc2d [Flutter GPU] Allow customizing the vertex layout on a Rend…
engine-flutter-autoroll May 12, 2026
8f9ac5d
ac04c444f Roll Skia from 91d3c1e730af to ad0aff15b9fa (7 revisions) (…
engine-flutter-autoroll May 12, 2026
afa7e65
48a522de6 Migrate focus_node.unfocus.0.dart to use `RadioGroup` (flut…
engine-flutter-autoroll May 12, 2026
2112262
f4702942b Roll Skia from ad0aff15b9fa to 77a21bc723dc (2 revisions) (…
engine-flutter-autoroll May 12, 2026
3b54f32
2b7ca0c64 Update iOS scenario app test goldens to match changes from …
engine-flutter-autoroll May 12, 2026
c7ee906
9ca95e5f1 Pass XcodeBasedProject instead of String to functions in Xc…
engine-flutter-autoroll May 12, 2026
e127de6
12ab46a06 docs: fix typos in flutter_tools comments (flutter/flutter#…
engine-flutter-autoroll May 12, 2026
ff58a01
70c706687 Removes SDF option for macOS (always enabled) (flutter/flut…
engine-flutter-autoroll May 12, 2026
51124ba
49b97c57b Roll Packages from 19ec8b861676 to 93cbed65f336 (3 revision…
engine-flutter-autoroll May 12, 2026
b5d2934
23f6f5853 Add 'cp: review' label to the manual cherrypick process (fl…
engine-flutter-autoroll May 12, 2026
281c717
formatting
bparrishMines May 12, 2026
6d42071
format tool
bparrishMines May 12, 2026
926e973
update excerpts
bparrishMines May 13, 2026
ebd0b63
revert video player swift change
bparrishMines May 13, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .ci/flutter_master.version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
707dbc0420a34d327476bc12fac5aa2e22978a2e
23f6f5853f50c4ee200d9f6aa0f1015b36e70e3c
1 change: 1 addition & 0 deletions packages/camera/camera/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ void didChangeAppLifecycleState(AppLifecycleState state) {
_initializeCameraController(cameraController.description);
}
}
```

### Handling camera access permissions
Expand Down
1 change: 1 addition & 0 deletions packages/camera/camera/example/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ class _CameraExampleHomeState extends State<CameraExampleHome>
_initializeCameraController(cameraController.description);
}
}

// #enddocregion AppLifecycle

@override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ class _CameraExampleHomeState extends State<CameraExampleHome>
_initializeCameraController(cameraController.description);
}
}

// #enddocregion AppLifecycle

@override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5155,14 +5155,13 @@ class ImageCapture extends UseCase {
pigeonChannelCodec,
binaryMessenger: pigeonVar_binaryMessenger,
);
final Future<Object?> pigeonVar_sendFuture = pigeonVar_channel.send(
<Object?>[
pigeonVar_instanceIdentifier,
resolutionSelector,
targetRotation,
flashMode,
],
);
final Future<Object?> pigeonVar_sendFuture = pigeonVar_channel
.send(<Object?>[
pigeonVar_instanceIdentifier,
resolutionSelector,
targetRotation,
flashMode,
]);
() async {
final pigeonVar_replyList = await pigeonVar_sendFuture as List<Object?>?;
if (pigeonVar_replyList == null) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ That object can then be used to create instances of `googleapis` API clients:
<?code-excerpt "example/lib/main.dart (CreateAPIClient)"?>
```dart
import 'package:googleapis_auth/googleapis_auth.dart' as auth show AuthClient;

// ···
// Retrieve an [auth.AuthClient] from a GoogleSignInClientAuthorization.
final auth.AuthClient client = authorization.authClient(scopes: scopes);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import 'package:google_sign_in/google_sign_in.dart';
import 'package:googleapis/people/v1.dart';
// #docregion CreateAPIClient
import 'package:googleapis_auth/googleapis_auth.dart' as auth show AuthClient;

// #enddocregion CreateAPIClient

/// The scopes used by this example.
Expand Down
1 change: 1 addition & 0 deletions packages/go_router/doc/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,7 @@ Widget build(BuildContext context) {
),
);
}

```

For a complete example, see the [Stateful Nested
Expand Down
1 change: 1 addition & 0 deletions packages/go_router/example/lib/stateful_shell_route.dart
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,7 @@ class ScaffoldWithNavBar extends StatelessWidget {
),
);
}

// #enddocregion configuration-custom-shell

/// NOTE: For a slightly more sophisticated branch switching, change the onTap
Expand Down
16 changes: 16 additions & 0 deletions packages/go_router_builder/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ generated file will always have the name `[source_file].g.dart`.
import 'package:go_router/go_router.dart';

part 'readme_excerpts.g.dart';

```

### Running `build_runner`
Expand Down Expand Up @@ -95,6 +96,7 @@ class HomeRoute extends GoRouteData with $HomeRoute {
@override
Widget build(BuildContext context, GoRouterState state) => const HomeScreen();
}

```

## Route tree
Expand All @@ -116,6 +118,7 @@ class HomeRoute extends GoRouteData with $HomeRoute {
Widget build(BuildContext context, GoRouterState state) => const HomeScreen();
}


class RedirectRoute extends GoRouteData {
// There is no need to implement [build] when this [redirect] is unconditional.
@override
Expand All @@ -124,6 +127,7 @@ class RedirectRoute extends GoRouteData {
}
}


@TypedGoRoute<LoginRoute>(path: '/login')
class LoginRoute extends GoRouteData with $LoginRoute {
LoginRoute({this.from});
Expand All @@ -134,6 +138,7 @@ class LoginRoute extends GoRouteData with $LoginRoute {
return LoginScreen(from: from);
}
}

```

## `GoRouter` initialization
Expand Down Expand Up @@ -161,6 +166,7 @@ class ErrorRoute extends GoRouteData {
return ErrorScreen(error: error);
}
}

```

With this in place, you can provide the `errorBuilder` parameter like so:
Expand Down Expand Up @@ -222,6 +228,7 @@ class LoginRoute extends GoRouteData with $LoginRoute {
return LoginScreen(from: from);
}
}

```

### Default values
Expand All @@ -240,6 +247,7 @@ class MyRoute extends GoRouteData with $MyRoute {
return MyScreen(queryParameter: queryParameter);
}
}

```

A query parameter that equals to its default value is not included in the location.
Expand All @@ -261,6 +269,7 @@ class PersonRouteWithExtra extends GoRouteData with $PersonRouteWithExtra {
return PersonScreen($extra);
}
}

```

Pass the extra param as a typed object:
Expand All @@ -270,6 +279,7 @@ Pass the extra param as a typed object:
void tapWithExtra() {
PersonRouteWithExtra(Person(id: 1, name: 'Marvin', age: 42)).go(context);
}

```

The `$extra` parameter is still passed outside the location, still defeats
Expand All @@ -295,6 +305,7 @@ class HotdogRouteWithEverything extends GoRouteData
return HotdogScreen(ketchup, mustard, $extra);
}
}

```

This seems kinda silly, but it works.
Expand Down Expand Up @@ -332,6 +343,7 @@ class RedirectRoute extends GoRouteData {
return const HomeRoute().location;
}
}

```

## Type conversions
Expand All @@ -353,6 +365,7 @@ class BooksRoute extends GoRouteData with $BooksRoute {
return BooksScreen(kind: kind);
}
}

```

## Transitions
Expand Down Expand Up @@ -381,6 +394,7 @@ class MyMaterialRouteWithKey extends GoRouteData with $MyMaterialRouteWithKey {
return const MaterialPage<void>(key: _key, child: MyPage());
}
}

```

### Custom transitions
Expand Down Expand Up @@ -411,6 +425,7 @@ class FancyRoute extends GoRouteData with $FancyRoute {
);
}
}

```

## TypedShellRoute and navigator keys
Expand Down Expand Up @@ -474,6 +489,7 @@ class DetailsRoute extends RelativeGoRouteData with $DetailsRoute {
Widget build(BuildContext context, GoRouterState state) =>
const DetailsScreen();
}

```

Navigate using the `goRelative` or `pushRelative` methods provided by the code generator:
Expand Down
13 changes: 13 additions & 0 deletions packages/go_router_builder/example/lib/readme_excerpts.dart
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import 'shared/data.dart';
import 'package:go_router/go_router.dart';

part 'readme_excerpts.g.dart';

// #enddocregion import

void otherDoc(BuildContext context) {
Expand Down Expand Up @@ -55,6 +56,7 @@ void otherDoc(BuildContext context) {
void tapWithExtra() {
PersonRouteWithExtra(Person(id: 1, name: 'Marvin', age: 42)).go(context);
}

// #enddocregion tapWithExtra

// #docregion goRelative
Expand Down Expand Up @@ -95,6 +97,7 @@ class HomeRoute extends GoRouteData with $HomeRoute {
@override
Widget build(BuildContext context, GoRouterState state) => const HomeScreen();
}

// #enddocregion HomeRoute

// #docregion RedirectRoute
Expand All @@ -105,6 +108,7 @@ class RedirectRoute extends GoRouteData {
return const HomeRoute().location;
}
}

// #enddocregion RedirectRoute

// #docregion login
Expand All @@ -118,6 +122,7 @@ class LoginRoute extends GoRouteData with $LoginRoute {
return LoginScreen(from: from);
}
}

// #enddocregion login
// #enddocregion TypedGoRouteHomeRoute

Expand Down Expand Up @@ -183,6 +188,7 @@ class ErrorRoute extends GoRouteData {
return ErrorScreen(error: error);
}
}

// #enddocregion ErrorRoute

class ErrorScreen extends StatelessWidget {
Expand Down Expand Up @@ -220,6 +226,7 @@ class MyRoute extends GoRouteData with $MyRoute {
return MyScreen(queryParameter: queryParameter);
}
}

// #enddocregion MyRoute

class MyScreen extends StatelessWidget {
Expand All @@ -243,6 +250,7 @@ class PersonRouteWithExtra extends GoRouteData with $PersonRouteWithExtra {
return PersonScreen($extra);
}
}

// #enddocregion PersonRouteWithExtra

class PersonScreen extends StatelessWidget {
Expand All @@ -269,6 +277,7 @@ class HotdogRouteWithEverything extends GoRouteData
return HotdogScreen(ketchup, mustard, $extra);
}
}

// #enddocregion HotdogRouteWithEverything

class Sauce {}
Expand Down Expand Up @@ -298,6 +307,7 @@ class BooksRoute extends GoRouteData with $BooksRoute {
return BooksScreen(kind: kind);
}
}

// #enddocregion BookKind

class BooksScreen extends StatelessWidget {
Expand All @@ -320,6 +330,7 @@ class MyMaterialRouteWithKey extends GoRouteData with $MyMaterialRouteWithKey {
return const MaterialPage<void>(key: _key, child: MyPage());
}
}

// #enddocregion MyMaterialRouteWithKey

class MyPage extends StatelessWidget {
Expand Down Expand Up @@ -368,6 +379,7 @@ class FancyRoute extends GoRouteData with $FancyRoute {
);
}
}

// #enddocregion FancyRoute

// #docregion MyShellRouteData
Expand Down Expand Up @@ -411,6 +423,7 @@ class DetailsRoute extends RelativeGoRouteData with $DetailsRoute {
Widget build(BuildContext context, GoRouterState state) =>
const DetailsScreen();
}

// #enddocregion relativeRoute

class DetailsScreen extends StatelessWidget {
Expand Down
1 change: 1 addition & 0 deletions packages/google_adsense/doc/h5.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ topic).
<?code-excerpt "../example/lib/h5.dart (import-h5)"?>
```dart
import 'package:google_adsense/h5.dart';
```

This provides an `h5GamesAds` object with two methods: `adBreak` to request ads,
Expand Down
1 change: 1 addition & 0 deletions packages/google_adsense/doc/initialization.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ void main() async {
runApp(const MyApp());
}
```

## Configure additional AdSense code parameters
Expand Down
1 change: 1 addition & 0 deletions packages/google_adsense/example/lib/h5.dart
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import 'package:flutter/material.dart';
import 'package:google_adsense/google_adsense.dart';
// #docregion import-h5
import 'package:google_adsense/h5.dart';

// #enddocregion import-h5

void main() async {
Expand Down
1 change: 1 addition & 0 deletions packages/google_adsense/example/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ void main() async {

runApp(const MyApp());
}

// #enddocregion init

/// The main app.
Expand Down
1 change: 1 addition & 0 deletions packages/google_fonts/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ ThemeData _buildTheme(Brightness brightness) {
textTheme: GoogleFonts.latoTextTheme(baseTheme.textTheme),
);
}
```

Or, if you want a `TextTheme` where a couple of styles should use a different font:
Expand Down
1 change: 1 addition & 0 deletions packages/google_fonts/example/lib/readme_excerpts.dart
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ ThemeData _buildTheme(Brightness brightness) {
textTheme: GoogleFonts.latoTextTheme(baseTheme.textTheme),
);
}

// #enddocregion AppThemeSimple

/// Multi-font app theme example.
Expand Down
1 change: 1 addition & 0 deletions packages/google_identity_services_web/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ void main() async {
// The rest of your code...
// ···
}

```

(Note that the above won't compile for mobile apps, so if you're developing a
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ void main() async {
id.prompt(onPromptMoment);
// #docregion use-loader
}

// #enddocregion use-loader

/// Handles the ID token returned from the One Tap prompt.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ void main() {
}
// ···
}
```

### Texture Layer Hybrid Composition
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ void main() {
runApp(const MyApp());
// #docregion DisplayMode
}

// #enddocregion DisplayMode

class MyApp extends StatefulWidget {
Expand Down
Loading
Loading