Update Dart revision to 3.8.0-278.4.beta (#168391)

* Updated Dart revision to [`e7f2f0556e3e57acb60749467e54f9a44b2bfc76`](http://goto.google.com/dart-hash/e7f2f0556e3e57acb60749467e54f9a44b2bfc76) (`3.8.0-278.4.beta`).
* ~Ran `gclient sync -D` and `tools/dart/create_updated_flutter_deps.py` (nothing was updated)~ ran wrong command
* Ran `gclient sync -D` and `tools/dart/create_updated_flutter_deps.py -f <flutter_DEPS_file_path>` (Dart style revision was updated)
This commit is contained in:
Camille Simon 2025-05-09 09:48:01 -07:00 committed by GitHub
parent b7e009ca24
commit 38e19d01dc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 34 additions and 48 deletions

4
DEPS
View File

@ -56,7 +56,7 @@ vars = {
# Dart is: https://github.com/dart-lang/sdk/blob/main/DEPS
# You can use //tools/dart/create_updated_flutter_deps.py to produce
# updated revision list of existing dependencies.
'dart_revision': '9003f7927a24fd87c34154e04585bfbcfd4d9188',
'dart_revision': 'e7f2f0556e3e57acb60749467e54f9a44b2bfc76',
# WARNING: DO NOT EDIT MANUALLY
# The lines between blank lines above and below are generated by a script. See create_updated_flutter_deps.py
@ -314,7 +314,7 @@ deps = {
Var('dart_git') + '/core.git' + '@' + Var('dart_core_rev'),
'engine/src/flutter/third_party/dart/third_party/pkg/dart_style':
Var('dart_git') + '/dart_style.git@21de99ec0ff8ace4d946a746fb427fffd6afa535',
Var('dart_git') + '/dart_style.git@100db45075abdd66fd8788b205243e90ff0595df',
'engine/src/flutter/third_party/dart/third_party/pkg/dartdoc':
Var('dart_git') + '/dartdoc.git@62aefbb788baf5b73b2d704d66d9735a7ca56a69',

View File

@ -1,4 +1,4 @@
Signature: e41496825525b0b25bd65a5a8e93c81a
Signature: f4f0a7ce457a816a7b8e0f13355125f4
====================================================================================================
LIBRARY: dart
@ -4858,7 +4858,7 @@ Exhibit B - "Incompatible With Secondary Licenses" Notice
This Source Code Form is "Incompatible With Secondary Licenses", as
defined by the Mozilla Public License, v. 2.0.
You may obtain a copy of this library's Source Code Form from: https://dart.googlesource.com/sdk/+/0d6811928830b87e36a0f49eb7fe554c308d3699
You may obtain a copy of this library's Source Code Form from: https://dart.googlesource.com/sdk/+/e7f2f0556e3e57acb60749467e54f9a44b2bfc76
/third_party/fallback_root_certificates/
====================================================================================================

View File

@ -96,8 +96,7 @@ class _WidgetPreviewErrorWidget extends StatelessWidget {
TextSpan(
text: frame.location,
style: linkTextStyle,
recognizer:
TapGestureRecognizer()
recognizer: TapGestureRecognizer()
..onTap = () {
// TODO(bkonyi): notify IDEs to navigate to the source location via DTD.
},
@ -244,11 +243,8 @@ class WidgetPreviewerWindowConstraints extends InheritedWidget {
final BoxConstraints constraints;
static BoxConstraints getRootConstraints(BuildContext context) {
final result =
context
.dependOnInheritedWidgetOfExactType<
WidgetPreviewerWindowConstraints
>();
final result = context
.dependOnInheritedWidgetOfExactType<WidgetPreviewerWindowConstraints>();
assert(
result != null,
'No WidgetPreviewerWindowConstraints founds in context',
@ -348,8 +344,7 @@ class _WidgetPreviewWrapperBox extends RenderShiftedBox {
// the previewer. In this case, apply finite constraints (e.g., the
// constraints for the root of the previewer). Otherwise, use the
// widget's actual constraints.
_constraintOverride =
minInstrinsicHeight == 0
_constraintOverride = minInstrinsicHeight == 0
? _previewerConstraints
: const BoxConstraints();
}
@ -483,16 +478,14 @@ class _WidgetPreviewScaffold extends StatelessWidget {
IconButton(
onPressed: () => _toggleLayout(LayoutType.gridView),
icon: Icon(Icons.grid_on),
color:
selectedLayout == LayoutType.gridView
color: selectedLayout == LayoutType.gridView
? Colors.blue
: Colors.black,
),
IconButton(
onPressed: () => _toggleLayout(LayoutType.listView),
icon: Icon(Icons.view_list),
color:
selectedLayout == LayoutType.listView
color: selectedLayout == LayoutType.listView
? Colors.blue
: Colors.black,
),

View File

@ -96,8 +96,7 @@ class _WidgetPreviewErrorWidget extends StatelessWidget {
TextSpan(
text: frame.location,
style: linkTextStyle,
recognizer:
TapGestureRecognizer()
recognizer: TapGestureRecognizer()
..onTap = () {
// TODO(bkonyi): notify IDEs to navigate to the source location via DTD.
},
@ -244,11 +243,8 @@ class WidgetPreviewerWindowConstraints extends InheritedWidget {
final BoxConstraints constraints;
static BoxConstraints getRootConstraints(BuildContext context) {
final result =
context
.dependOnInheritedWidgetOfExactType<
WidgetPreviewerWindowConstraints
>();
final result = context
.dependOnInheritedWidgetOfExactType<WidgetPreviewerWindowConstraints>();
assert(
result != null,
'No WidgetPreviewerWindowConstraints founds in context',
@ -348,8 +344,7 @@ class _WidgetPreviewWrapperBox extends RenderShiftedBox {
// the previewer. In this case, apply finite constraints (e.g., the
// constraints for the root of the previewer). Otherwise, use the
// widget's actual constraints.
_constraintOverride =
minInstrinsicHeight == 0
_constraintOverride = minInstrinsicHeight == 0
? _previewerConstraints
: const BoxConstraints();
}
@ -483,16 +478,14 @@ class _WidgetPreviewScaffold extends StatelessWidget {
IconButton(
onPressed: () => _toggleLayout(LayoutType.gridView),
icon: Icon(Icons.grid_on),
color:
selectedLayout == LayoutType.gridView
color: selectedLayout == LayoutType.gridView
? Colors.blue
: Colors.black,
),
IconButton(
onPressed: () => _toggleLayout(LayoutType.listView),
icon: Icon(Icons.view_list),
color:
selectedLayout == LayoutType.listView
color: selectedLayout == LayoutType.listView
? Colors.blue
: Colors.black,
),