8000 Update Dart revision to `3.8.0-278.4.beta` (#168391) · flutter/flutter@38e19d0 · GitHub
[go: up one dir, main page]

Skip to content

Commit 38e19d0

Browse files
authored
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)
1 parent b7e009c commit 38e19d0

File tree

4 files changed

+34
-48
lines changed

4 files changed

+34
-48
lines changed

DEPS

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ vars = {
5656
# Dart is: https://github.com/dart-lang/sdk/blob/main/DEPS
5757
# You can use //tools/dart/create_updated_flutter_deps.py to produce
5858
# updated revision list of existing dependencies.
59-
'dart_revision': '9003f7927a24fd87c34154e04585bfbcfd4d9188',
59+
'dart_revision': 'e7f2f0556e3e57acb60749467e54f9a44b2bfc76',
6060

6161
# WARNING: DO NOT EDIT MANUALLY
6262
# The lines between blank lines above and below are generated by a script. See create_updated_flutter_deps.py
@@ -314,7 +314,7 @@ deps = {
314314
Var('dart_git') + '/core.git' + '@' + Var('dart_core_rev'),
315315

316316
'engine/src/flutter/third_party/dart/third_party/pkg/dart_style':
317-
Var('dart_git') + '/dart_style.git@21de99ec0ff8ace4d946a746fb427fffd6afa535',
317+
Var('dart_git') + '/dart_style.git@100db45075abdd66fd8788b205243e90ff0595df',
318318

319319
'engine/src/flutter/third_party/dart/third_party/pkg/dartdoc':
320320
Var('dart_git') + '/dartdoc.git@62aefbb788baf5b73b2d704d66d9735a7ca56a69',

engine/src/flutter/ci/licenses_golden/licenses_dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Signature: e41496825525b0b25bd65a5a8e93c81a
1+
Signature: f4f0a7ce457a816a7b8e0f13355125f4
22

33
====================================================================================================
44
LIBRARY: dart
@@ -4858,7 +4858,7 @@ Exhibit B - "Incompatible With Secondary Licenses" Notice
48584858
This Source Code Form is "Incompatible With Secondary Licenses", as
48594859
defined by the Mozilla Public License, v. 2.0.
48604860

4861-
You may obtain a copy of this library's Source Code Form from: https://dart.googlesource.com/sdk/+/0d6811928830b87e36a0f49eb7fe554c308d3699
4861+
You may obtain a copy of this library's Source Code Form from: https://dart.googlesource.com/sdk/+/e7f2f0556e3e57acb60749467e54f9a44b2bfc76
48624862
/third_party/fallback_root_certificates/
48634863

48644864
====================================================================================================

packages/flutter_tools/templates/widget_preview_scaffold/lib/src/widget_preview_rendering.dart.tmpl

Lines changed: 15 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -96,11 +96,10 @@ class _WidgetPreviewErrorWidget extends StatelessWidget {
9696
TextSpan(
9797
text: frame.location,
9898
style: linkTextStyle,
99-
recognizer:
100-
TapGestureRecognizer()
101-
..onTap = () {
102-
// TODO(bkonyi): notify IDEs to navigate to the source location via DTD.
103-
},
99+
recognizer: TapGestureRecognizer()
100+
..onTap = () {
101+
// TODO(bkonyi): notify IDEs to navigate to the source location via DTD.
102+
},
104103
),
105104
TextSpan(text: ' ' * (longest - frame.location.length)),
106105
const TextSpan(text: ' '),
@@ -244,11 +243,8 @@ class WidgetPreviewerWindowConstraints extends InheritedWidget {
244243
final BoxConstraints constraints;
245244

246245
static BoxConstraints getRootConstraints(BuildContext context) {
247-
final result =
248-
context
249-
.dependOnInheritedWidgetOfExactType<
250-
WidgetPreviewerWindowConstraints
251-
>();
246+
final result = context
247+
.dependOnInheritedWidgetOfExactType<WidgetPreviewerWindowConstraints>();
252248
assert(
253249
result != null,
254250
'No WidgetPreviewerWindowConstraints founds in context',
@@ -348,10 +344,9 @@ class _WidgetPreviewWrapperBox extends RenderShiftedBox {
348344
// the previewer. In this case, apply finite constraints (e.g., the
349345
// constraints for the root of the previewer). Otherwise, use the
350346
// widget's actual constraints.
351-
_constraintOverride =
352-
minInstrinsicHeight == 0
353-
? _previewerConstraints
354-
: const BoxConstraints();
347+
_constraintOverride = minInstrinsicHeight == 0
348+
? _previewerConstraints
349+
: const BoxConstraints();
355350
}
356351
super.layout(constraints, parentUsesSize: parentUsesSize);
357352
}
@@ -483,18 +478,16 @@ class _WidgetPreviewScaffold extends StatelessWidget {
483478
IconButton(
484479
onPressed: () => _toggleLayout(LayoutType.gridView),
485480
icon: Icon(Icons.grid_on),
486-
color:
487-
selectedLayout == LayoutType.gridView
488-
? Colors.blue
489-
: Colors.black,
481+
color: selectedLayout == LayoutType.gridView
482+
? Colors.blue
483+
: Colors.black,
490484
),
491485
IconButton(
492486
onPressed: () => _toggleLayout(LayoutType.listView),
493487
icon: Icon(Icons.view_list),
494-
color:
495-
selectedLayout == LayoutType.listView
496-
? Colors.blue
497-
: Colors.black,
488+
color: selectedLayout == LayoutType.listView
489+
? Colors.blue
490+
: Colors.black,
498491
),
499492
],
500493
);

packages/flutter_tools/test/widget_preview_scaffold.shard/widget_preview_scaffold/lib/src/widget_preview_rendering.dart

Lines changed: 15 additions & 22 deletions
Diff line change
Original file line numberDiff line number
@@ -96,11 +96,10 @@ class _WidgetPreviewErrorWidget extends StatelessWidget {
9696
TextSpan(
9797
text: frame.location,
9898
style: linkTextStyle,
99-
recognizer:
100-
TapGestureRecognizer()
101-
..onTap = () {
102-
// TODO(bkonyi): notify IDEs to navigate to the source location via DTD.
103-
},
99+
recognizer: TapGestureRecognizer()
100+
..onTap = () {
101+
// TODO(bkonyi): notify IDEs to navigate to the source location via DTD.
102+
},
104103
),
105104
TextSpan(text: ' ' * (longest - frame.location.length)),
106105
const TextSpan(text: ' '),
@@ -244,11 +243,8 @@ class WidgetPreviewerWindowConstraints extends InheritedWidget {
244243
final BoxConstraints constraints;
245244

246245
static BoxConstraints getRootConstraints(BuildContext context) {
247-
final result =
248-
context
249-
.dependOnInheritedWidgetOfExactType<
250-
WidgetPreviewerWindowConstraints
251-
>();
246+
final result = context
247+
.dependOnInheritedWidgetOfExactType<WidgetPreviewerWindowConstraints>();
252248
assert(
253249
result != null,
254250
'No WidgetPreviewerWindowConstraints founds in context',
@@ -348,10 +344,9 @@ class _WidgetPreviewWrapperBox extends RenderShiftedBox {
348344
// the previewer. In this case, apply finite constraints (e.g., the
349345
// constraints for the root of the previewer). Otherwise, use the
350346
// widget's actual constraints.
351-
_constraintOverride =
352-
minInstrinsicHeight == 0
353-
? _previewerConstraints
354-
: const BoxConstraints();
347+
_constraintOverride = minInstrinsicHeight == 0
348+
? _previewerConstraints
349+
: const BoxConstraints();
355350
}
356351
super.layout(constraints, parentUsesSize: parentUsesSize);
357352
}
@@ -483,18 +478,16 @@ class _WidgetPreviewScaffold extends StatelessWidget {
483478
IconButton(
484479
onPressed: () => _toggleLayout(LayoutType.gridView),
485480
icon: Icon(Icons.grid_on),
486-
color:
487-
selectedLayout == LayoutType.gridView
488-
? Colors.blue
489-
: Colors.black,
481+
color: selectedLayout == LayoutType.gridView
482+
? Colors.blue
483+
: Colors.black,
490484
),
491485
IconButton(
492486
onPressed: () => _toggleLayout(LayoutType.listView),
493487
icon: Icon(Icons.view_list),
494-
color:
495-
selectedLayout == LayoutType.listView
496-
? Colors.blue
497-
: Colors.black,
488+
color: selectedLayout == LayoutType.listView
489+
? Colors.blue
490+
: Colors.black,
498491
),
499492
],
500493
);

0 commit comments

Comments
 (0)
0