Furkan Acar
83ac76050d
Add SegmentedButton.styleFrom
( #137542 )
...
fixes https://github.com/flutter/flutter/issues/138289
---
SegmentedButtom.styleFrom has been added to the segment button, so there is no longer any need to the button style from the beginning. It works like ElevatedButton.styleFrom only I added selectedForegroundColor, selectedBackgroundColor. In this way, the user will be able to change the color first without checking the MaterialState states. I added tests of the same controls.
#129215 I opened this problem myself, but I was rejected because I handled too many items in a PR. For now, I wrote a structure that only handles MaterialStates instead of users.
old (still avaliable)
<img width="626" alt="image" src="https://github.com/flutter/flutter/assets/65075121/9446b13b-c355-4d20-bda2-c47a23d42d4f ">
new (just an option for developer)
<img width="483" alt="image" src="https://github.com/flutter/flutter/assets/65075121/0a645257-4c83-4029-9484-bd746c02265f ">
### Code sample
<details>
<summary>expand to view the code sample</summary>
```dart
import 'package:flutter/material.dart';
/// Flutter code sample for [SegmentedButton].
void main() {
runApp(const SegmentedButtonApp());
}
enum Calendar { day, week, month, year }
class SegmentedButtonApp extends StatefulWidget {
const SegmentedButtonApp({super.key});
@override
State<SegmentedButtonApp> createState() => _SegmentedButtonAppState();
}
class _SegmentedButtonAppState extends State<SegmentedButtonApp> {
Calendar calendarView = Calendar.day;
@override
Widget build(BuildContext context) {
return MaterialApp(
theme: ThemeData(useMaterial3: true),
home: Scaffold(
body: Center(
child: SegmentedButton<Calendar>(
style: SegmentedButton.styleFrom(
foregroundColor: Colors.amber,
visualDensity: VisualDensity.comfortable,
),
// style: const ButtonStyle(
// foregroundColor: MaterialStatePropertyAll<Color>(Colors.deepPurple),
// visualDensity: VisualDensity.comfortable,
// ),
segments: const <ButtonSegment<Calendar>>[
ButtonSegment<Calendar>(
value: Calendar.day,
label: Text('Day'),
icon: Icon(Icons.calendar_view_day)),
ButtonSegment<Calendar>(
value: Calendar.week,
label: Text('Week'),
icon: Icon(Icons.calendar_view_week)),
ButtonSegment<Calendar>(
value: Calendar.month,
label: Text('Month'),
icon: Icon(Icons.calendar_view_month)),
ButtonSegment<Calendar>(
value: Calendar.year,
label: Text('Year'),
icon: Icon(Icons.calendar_today)),
],
selected: <Calendar>{calendarView},
onSelectionChanged: (Set<Calendar> newSelection) {
setState(() {
calendarView = newSelection.first;
});
},
),
),
),
);
}
}
```
</details>
2024-01-03 21:26:02 +00:00
engine-flutter-autoroll
e64e7d9c13
Roll Flutter Engine from c62bcff5b809 to bf979d220283 (1 revision) ( #140910 )
...
c62bcff5b8...bf979d2202
2024-01-03 john@johnmccutchan.com Fix a crash in the new SurfaceProducer external texture (flutter/engine#49496 )
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC rmistry@google.com ,zra@google.com on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
2024-01-03 21:03:06 +00:00
Polina Cherkasova
baf6ba134f
Re-land integrate testWidgets with leak tracking. ( #140521 )
2024-01-03 12:21:08 -08:00
engine-flutter-autoroll
eb195da7e2
Roll Flutter Engine from 98b72c7ffe71 to c62bcff5b809 (2 revisions) ( #140905 )
...
98b72c7ffe...c62bcff5b8
2024-01-03 jonahwilliams@google.com [Impeller] Disable compute for Vulkan. (flutter/engine#49463 )
2024-01-03 dkwingsmt@users.noreply.github.com Revert skiping illegal render in Dart (flutter/engine#49473 )
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC rmistry@google.com ,zra@google.com on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
2024-01-03 20:12:21 +00:00
Jonah Williams
0d378ed5ab
[flutter_tools] add support for --enable-impeller to test device. ( #140899 )
...
This allows unit tests to use the impeller backend, which can be useful for Scubas/golden tests.
2024-01-03 19:14:49 +00:00
engine-flutter-autoroll
0e11246b62
Roll Flutter Engine from cf7536964a2f to 98b72c7ffe71 (1 revision) ( #140897 )
...
cf7536964a...98b72c7ffe
2024-01-03 skia-flutter-autoroll@skia.org Roll Skia from 9e8069bba51d to 1144b7950404 (1 revision) (flutter/engine#49494 )
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC rmistry@google.com ,zra@google.com on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
2024-01-03 19:02:07 +00:00
Ann Marie Mossman
743cdd68b7
Handle KEYCODE_DPAD_CENTER and KEYCODE_ENTER ( #140808 )
...
https://github.com/flutter/flutter/issues/1670
Note: This PR replaces the the original PR (https://github.com/flutter/flutter/pull/138240 ) that got into a state where a rebase was not possible and made it difficult to determine what was causing unrelated test failures.
2024-01-03 18:37:23 +00:00
lsaudon
d46a8afc1a
Add Lucas Saudon to AUTHORS ( #139965 )
...
Reference: [author:lsaudon](https://github.com/flutter/flutter/issues?q=author%3Alsaudon )
2024-01-03 18:31:59 +00:00
Elliott Brooks
55ba27d3bc
Link to wiki page about updating dependencies in each pubspec.yaml
file ( #140826 )
...
Added a minimal wiki page about how to use the `update-packages` tool: https://github.com/flutter/flutter/wiki/Updating-dependencies-in-Flutter
This PR adds a link to that wiki page at the top of each pubspec.yaml file
2024-01-03 18:28:52 +00:00
Flutter GitHub Bot
bfcf0c5893
Marks Linux_pixel_7pro native_assets_android to be unflaky ( #140866 )
...
<!-- meta-tags: To be used by the automation script only, DO NOT MODIFY.
{
"name": "Linux_pixel_7pro native_assets_android"
}
-->
The test has been passing for [50 consecutive runs](https://data.corp.google.com/sites/flutter_infra_metrics_datasite/flutter_check_test_flakiness_status_dashboard/?p=BUILDER_NAME:%22Linux_pixel_7pro%20native_assets_android%22 ).
This test can be marked as unflaky.
2024-01-03 18:25:15 +00:00
engine-flutter-autoroll
e213dbe883
Roll Flutter Engine from 3b6edee0f8f7 to cf7536964a2f (1 revision) ( #140889 )
...
3b6edee0f8...cf7536964a
2024-01-03 skia-flutter-autoroll@skia.org Roll Skia from a9db1213b179 to 9e8069bba51d (18 revisions) (flutter/engine#49490 )
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC rmistry@google.com ,zra@google.com on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
2024-01-03 17:40:07 +00:00
engine-flutter-autoroll
4d624cded3
Roll Packages from fa74d3e1e71a to bbb41347518e (4 revisions) ( #140885 )
...
fa74d3e1e7...bbb4134751
2024-01-02 43054281+camsim99@users.noreply.github.com [camerax] Implement `lockCaptureOrientation` & `unlockCaptureOrientation` (flutter/packages#5285 )
2024-01-02 49699333+dependabot[bot]@users.noreply.github.com Bump github/codeql-action from 3.22.11 to 3.22.12 (flutter/packages#5738 )
2024-01-02 chillers@google.com Add Flutter CI Status badge to README (flutter/packages#5733 )
2023-12-26 49699333+dependabot[bot]@users.noreply.github.com [path_provider]: Bump androidx.annotation:annotation from 1.7.0 to 1.7.1 in /packages/path_provider/path_provider_android/android (flutter/packages#5709 )
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-packages-flutter-autoroll
Please CC flutter-ecosystem@google.com ,rmistry@google.com on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
2024-01-03 17:00:14 +00:00
engine-flutter-autoroll
6bf9d93877
Roll Flutter Engine from 3a7aa01b0a7d to 3b6edee0f8f7 (4 revisions) ( #140884 )
...
3a7aa01b0a...3b6edee0f8
2024-01-03 98614782+auto-submit[bot]@users.noreply.github.com Reverts "Roll Dart SDK from 7e9f7eab80d3 to c5a75ac9057c (1 revision)" (flutter/engine#49491 )
2024-01-03 skia-flutter-autoroll@skia.org Roll Skia from 4b16117e94b2 to a9db1213b179 (1 revision) (flutter/engine#49487 )
2024-01-03 dnfield@google.com [Impeller] Allow multiple --runtime-stage-* parameters to impellerc (flutter/engine#49475 )
2024-01-03 skia-flutter-autoroll@skia.org Roll Dart SDK from 7e9f7eab80d3 to c5a75ac9057c (1 revision) (flutter/engine#49478 )
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC rmistry@google.com ,zra@google.com on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
2024-01-03 16:52:56 +00:00
Jack Gibbons
f4cb3d215d
Add key to BottomNavigationBarItem ( #139617 )
...
Pass key into _BottomNavigationTile
Adding a optional key parameter to BottomNavigationBarItem to be passed through to _BottomNavigationTile.
This will allow easier testing in some scenarios, and fix the splash appearing on the wrong tile.
https://github.com/flutter/flutter/issues/139615
https://github.com/flutter/flutter/issues/34833
2024-01-03 15:58:21 +00:00
Flutter GitHub Bot
70386a613b
Marks Linux_android hybrid_android_views_integration_test to be unflaky ( #140865 )
...
<!-- meta-tags: To be used by the automation script only, DO NOT MODIFY.
{
"name": "Linux_android hybrid_android_views_integration_test"
}
-->
The test has been passing for [50 consecutive runs](https://data.corp.google.com/sites/flutter_infra_metrics_datasite/flutter_check_test_flakiness_status_dashboard/?p=BUILDER_NAME:%22Linux_android%20hybrid_android_views_integration_test%22 ).
This test can be marked as unflaky.
2024-01-03 13:35:20 +00:00
engine-flutter-autoroll
37d11ed8e6
Roll Flutter Engine from e95e12368a42 to 3a7aa01b0a7d (1 revision) ( #140846 )
...
e95e12368a...3a7aa01b0a
2024-01-02 jonahwilliams@google.com [Impeller] add doc on iOS flamegraph capture. (flutter/engine#49469 )
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC rmistry@google.com ,zra@google.com on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
2024-01-03 04:13:53 +00:00
Satsrag
c033b08df7
fix: cannot input new line using custom input control ( #140356 )
...
For https://github.com/flutter/flutter/issues/125875 and https://github.com/flutter/engine/pull/45522
According to [this discussion](https://github.com/flutter/flutter/pull/139446#discussion_r1424776370 ), Just added `forceMultiline` to JSON on `_configurationToJson`. @LongCatIsLooong @Renzo-Olivares
2024-01-03 01:58:24 +00:00
engine-flutter-autoroll
01c057cd12
Roll Flutter Engine from b5e79bd249b8 to e95e12368a42 (1 revision) ( #140840 )
...
b5e79bd249...e95e12368a
2024-01-02 737941+loic-sharma@users.noreply.github.com Revert "Reland "[Windows] Move to FlutterCompositor for rendering" (flutter/engine#49461 )
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC rmistry@google.com ,zra@google.com on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
2024-01-03 01:21:16 +00:00
John McCutchan
dcc2c91471
Verified input test take 2 ( #140836 )
...
This is a reland of https://github.com/flutter/flutter/pull/140806 which had an issue with package versions.
2024-01-03 01:17:08 +00:00
Jenn Magder
b08fc60024
Set template and migrate apps to iOS 12 minimum ( #140823 )
...
Reland https://github.com/flutter/flutter/pull/140478 with `ios_content_validation_test` test fix.
```
[ios_content_validation_test] Process terminated with exit code 0.
Task result:
{
"success": true,
"data": null,
"detailFiles": [],
"benchmarkScoreKeys": [],
"reason": "success"
}
```
__________
1. Change templates to `IPHONEOS_DEPLOYMENT_TARGET`, `MinimumOSVersion`, and Podfile `platform :ios` to 12.0.
2. Add migrator for Podfile part to migrate `platform :ios, '11.0'` -> `platform :ios, '12.0'`
3. Compile with `-miphoneos-version-min=12.0`
4. Run the migrator on all example apps and integration tests.
See also https://github.com/flutter/flutter/pull/62902 and https://github.com/flutter/flutter/pull/85174 and https://github.com/flutter/flutter/pull/101963
Fixes https://github.com/flutter/flutter/issues/136060
2024-01-03 00:47:40 +00:00
David Iglesias
6b4f0d5753
[flutter] Allow ViewCollection to start empty. ( #140532 )
...
This enables multi-view apps to start with zero views.
2024-01-03 00:22:52 +00:00
Andrew Kolos
3ac2dba58d
Fix setup race in asset bundle tests ( #140832 )
...
Fixes https://github.com/flutter/flutter/issues/140665 by replacing use of `setUpAll` and `teardownAll` with `setUp` and `teardown` respectively.
My theory has to how this issue happened (and how this PR fixes it) is that `setUpAll` is not guaranteed to run after any `setUp` in any parent test groups. However, `setUp` is guaranteed to run after any set-up callbacks in parent groups. From the [documentation](https://api.flutter.dev/flutter/flutter_test/setUp.html ):
> If this is called within a test group, it applies only to tests in that group. The body will be run after any set-up callbacks in parent groups or at the top level.
Meanwhile, [`setUpAll`](https://api.flutter.dev/flutter/flutter_test/setUpAll.html ) has a weaker documented guarantee that applies only to other `setUpAll` calls:
> If this is called within a test group, The body will run before all tests in that group. It will be run after any [setUpAll](https://api.flutter.dev/flutter/flutter_test/setUpAll.html ) callbacks in parent groups or at the top level. It won't be run if none of the tests in the group are run.
2024-01-03 00:15:51 +00:00
LongCatIsLooong
f3b6505f14
Fix 139196 selection OOB ( #140300 )
...
Fixes #139196
2024-01-03 00:11:18 +00:00
engine-flutter-autoroll
530b766f57
Roll Flutter Engine from b02d59a2a607 to b5e79bd249b8 (3 revisions) ( #140839 )
...
b02d59a2a6...b5e79bd249
2024-01-02 dnfield@google.com Start wiring up fragment program for OpenGLES (flutter/engine#49347 )
2024-01-02 skia-flutter-autoroll@skia.org Roll Dart SDK from 014514e3e5b9 to 7e9f7eab80d3 (2 revisions) (flutter/engine#49471 )
2024-01-02 yjbanov@google.com [web] make TextStyle implementations consistent (flutter/engine#49465 )
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC rmistry@google.com ,zra@google.com on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
2024-01-03 00:09:35 +00:00
auto-submit[bot]
8e431e106e
Reverts "Verified input integration test" ( #140833 )
...
Reverts flutter/flutter#140806
Initiated by: zanderso
This change reverts the following previous change:
Original Description:
This is an integration test associated with https://github.com/flutter/engine/pull/49268
2024-01-02 22:44:18 +00:00
John McCutchan
ac9a8eb669
Verified input integration test ( #140806 )
...
This is an integration test associated with
https://github.com/flutter/engine/pull/49268
2024-01-02 14:20:35 -08:00
engine-flutter-autoroll
ba578c77f2
Roll Flutter Engine from 9d89f8727976 to b02d59a2a607 (1 revision) ( #140824 )
...
9d89f87279...b02d59a2a6
2024-01-02 john@johnmccutchan.com Android Platform Views support Verified Input Events (flutter/engine#49268 )
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC rmistry@google.com ,zra@google.com on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
2024-01-02 21:56:25 +00:00
engine-flutter-autoroll
b62bb518f4
Roll Flutter Engine from a06926d05d2b to 9d89f8727976 (1 revision) ( #140818 )
...
a06926d05d...9d89f87279
2024-01-02 30870216+gaaclarke@users.noreply.github.com [Impeller] new blur: implemented ping ponging (flutter/engine#49252 )
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC rmistry@google.com ,zra@google.com on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
2024-01-02 21:00:11 +00:00
Polina Cherkasova
45c611f040
Upgrade leak_tracker. ( #140758 )
2024-01-02 20:58:16 +00:00
auto-submit[bot]
bd634f3298
Reverts "Set template and migrate apps to iOS 12 minimum" ( #140822 )
...
Reverts flutter/flutter#140478
Initiated by: loic-sharma
This change reverts the following previous change:
Original Description:
1. Change templates to `IPHONEOS_DEPLOYMENT_TARGET`, `MinimumOSVersion`, and Podfile `platform :ios` to 12.0.
2. Add migrator for Podfile part to migrate `platform :ios, '11.0'` -> `platform :ios, '12.0'`
3. Compile with `-miphoneos-version-min=12.0`
4. Run the migrator on all example apps and integration tests.
See also https://github.com/flutter/flutter/pull/62902 and https://github.com/flutter/flutter/pull/85174 and https://github.com/flutter/flutter/pull/101963
Fixes https://github.com/flutter/flutter/issues/136060
2024-01-02 20:49:19 +00:00
LongCatIsLooong
5883a6ca10
Reland "Make TextSpan
hit testing precise." ( #140468 ) ( #140621 )
...
Fixes https://github.com/flutter/flutter/issues/131435 , https://github.com/flutter/flutter/issues/104594 , https://github.com/flutter/flutter/issues/43400
Currently the method we use for text span hit testing `TextPainter.getPositionForOffset` always returns the closest `TextPosition`, even when the given offset is far away from the text.
The new TextPaintes method tells you the layout bounds `(width = letterspacing / 2 + x_advance + letterspacing / 2, height = font ascent + font descent)` of a character, the PR changes the hit testing implementation such that a TextSpan is only considered hit if the point-down event landed in one of its character's layout bounds.
Potential issues:
In theory since the text is baseline aligned, we should use the max ascent and max descent of each character to calculate the height of the text span's hit-test region, in case some characters in the span have to fall back to a different font, but that will be slower and it typically doesn't make a huge difference.
This is a breaking change.
2024-01-02 20:26:12 +00:00
Elliott Brooks
cb07292f57
Update dependencies with flutter update-packages --force-upgrade
( #140810 )
2024-01-02 12:10:10 -08:00
engine-flutter-autoroll
babf086578
Roll Flutter Engine from 194d90de78cc to a06926d05d2b (3 revisions) ( #140815 )
...
194d90de78...a06926d05d
2024-01-02 dnfield@google.com Make sure to finish the suite if all tests are skipped (flutter/engine#49339 )
2024-01-02 26625149+0xZOne@users.noreply.github.com Fix NPE when platform plugin delegate is null (flutter/engine#49391 )
2024-01-02 26625149+0xZOne@users.noreply.github.com Add try-with-resource support to TraceSection (flutter/engine#49445 )
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC rmistry@google.com ,zra@google.com on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
2024-01-02 19:54:31 +00:00
Jenn Magder
acdbcadb9e
Set template and migrate apps to iOS 12 minimum ( #140478 )
...
1. Change templates to `IPHONEOS_DEPLOYMENT_TARGET`, `MinimumOSVersion`, and Podfile `platform :ios` to 12.0.
2. Add migrator for Podfile part to migrate `platform :ios, '11.0'` -> `platform :ios, '12.0'`
3. Compile with `-miphoneos-version-min=12.0`
4. Run the migrator on all example apps and integration tests.
See also https://github.com/flutter/flutter/pull/62902 and https://github.com/flutter/flutter/pull/85174 and https://github.com/flutter/flutter/pull/101963
Fixes https://github.com/flutter/flutter/issues/136060
2024-01-02 19:42:13 +00:00
shirne
7249d9ec6d
improve comment doc in tabs.dart ( #140568 )
...
*Replace this paragraph with a description of what this PR is changing or adding, and why. Consider including before/after screenshots.*
*List which issues are fixed by this PR. You must list at least one issue. An issue is not required if the PR fixes something trivial like a typo.*
*If you had to change anything in the [flutter/tests] repo, include a link to the migration guide as per the [breaking change policy].*
2024-01-02 19:03:10 +00:00
Dan Field
bfdc32fcd0
Revert "[Impeller] Plumb through the impeller-force-gl flag." ( #140535 )
...
Reverts flutter/flutter#123828
Fixes https://github.com/flutter/flutter/issues/140523
2024-01-02 18:28:04 +00:00
Polina Cherkasova
f667376cc8
Rename MemoryAllocations to FlutterMemoryAllocations. ( #140623 )
...
Contributes to https://github.com/flutter/flutter/issues/140622
2024-01-02 09:56:30 -08:00
Polina Cherkasova
59242b75c5
Add command line parameter that turns on leak tracking. ( #138653 )
2024-01-02 09:20:12 -08:00
engine-flutter-autoroll
c56bea32d8
Roll Flutter Engine from 9e03a57cde8a to 194d90de78cc (1 revision) ( #140792 )
...
9e03a57cde...194d90de78
2024-01-02 skia-flutter-autoroll@skia.org Roll Dart SDK from 54ae19428139 to 014514e3e5b9 (1 revision) (flutter/engine#49458 )
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC rmistry@google.com ,zra@google.com on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
2024-01-02 14:53:10 +00:00
engine-flutter-autoroll
3df4e735d5
Roll Flutter Engine from ea4fb2cb94c8 to 9e03a57cde8a (1 revision) ( #140740 )
...
ea4fb2cb94...9e03a57cde
2023-12-29 skia-flutter-autoroll@skia.org Roll Dart SDK from 4b2415d82948 to 54ae19428139 (1 revision) (flutter/engine#49423 )
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC aaclarke@google.com ,rmistry@google.com,zra@google.com on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
2023-12-29 19:07:39 +00:00
engine-flutter-autoroll
7c9c1705e8
Roll Flutter Engine from d69663ee2c14 to ea4fb2cb94c8 (1 revision) ( #140735 )
...
d69663ee2c...ea4fb2cb94
2023-12-29 skia-flutter-autoroll@skia.org Roll Dart SDK from 4d83ab20df11 to 4b2415d82948 (1 revision) (flutter/engine#49421 )
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC aaclarke@google.com ,rmistry@google.com,zra@google.com on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
2023-12-29 12:40:37 +00:00
engine-flutter-autoroll
eb78553b14
Roll Flutter Engine from 7a7ddc53cd77 to d69663ee2c14 (1 revision) ( #140725 )
...
7a7ddc53cd...d69663ee2c
2023-12-29 skia-flutter-autoroll@skia.org Roll Dart SDK from 69ef0e9b3570 to 4d83ab20df11 (1 revision) (flutter/engine#49420 )
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC aaclarke@google.com ,rmistry@google.com,zra@google.com on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
2023-12-29 09:04:26 +00:00
林洵锋
420f18be76
Update README.md ( #140661 )
...
Fix the dashboard user guide link.
2023-12-29 05:45:36 +00:00
engine-flutter-autoroll
c184c8096c
Roll Flutter Engine from cee9e9e26315 to 7a7ddc53cd77 (1 revision) ( #140722 )
...
cee9e9e263...7a7ddc53cd
2023-12-29 skia-flutter-autoroll@skia.org Roll Dart SDK from c7442b492d15 to 69ef0e9b3570 (1 revision) (flutter/engine#49419 )
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC aaclarke@google.com ,rmistry@google.com,zra@google.com on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
2023-12-29 05:09:26 +00:00
Daniel Chevalier
186659dc35
Show width and height in inspector overlay ( #140709 )
...

Fixes https://github.com/flutter/devtools/issues/6871
Add the width and height to the inspector overlay. 1 decimal precision is used since that matches the way Devtools displays the values.
## Examples
<img width="442" alt="Screenshot 2023-12-28 at 2 39 49â¯PM" src="https://github.com/flutter/flutter/assets/1386322/2de40092-de15-4ada-a954-e911e6bef217 ">
<img width="645" alt="Screenshot 2023-12-28 at 2 39 42â¯PM" src="https://github.com/flutter/flutter/assets/1386322/8f53dad5-1aba-43d9-9419-ca93cd894624 ">
<img width="149" alt="Screenshot 2023-12-28 at 2 39 37â¯PM" src="https://github.com/flutter/flutter/assets/1386322/bbed74b7-c962-4c20-80d8-48e5eaa14de6 ">
2023-12-29 01:34:40 +00:00
engine-flutter-autoroll
396a53044f
Roll Flutter Engine from afd214dcccaf to cee9e9e26315 (1 revision) ( #140716 )
...
afd214dccc...cee9e9e263
2023-12-29 skia-flutter-autoroll@skia.org Roll Dart SDK from be080de22019 to c7442b492d15 (5 revisions) (flutter/engine#49417 )
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC aaclarke@google.com ,rmistry@google.com,zra@google.com on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
2023-12-29 01:18:26 +00:00
Ian Hickson
11119cff38
More helpful test.dart output ( #140175 )
...
Each error section is numbered, so you can all be sure you're talking about the same one.
A message is printed at the very end telling you how to find the error blocks in the verbose logs.
2023-12-28 23:16:12 +00:00
hhh
b0b0e423d6
expose didExceedMaxLines from RenderParagraph ( #139962 )
...
I want to build a widget that adds some extra functionality when the inner text overflow. So the problem occurred, I can't find an elegant way to determine if the text is overflowing.
So i expose `didExceedMaxLines` from `RenderParagraph`, I think it can make sense. Have there some advice?
2023-12-28 01:38:38 +00:00
engine-flutter-autoroll
b481f9c67a
Roll Flutter Engine from 437abd662da2 to afd214dcccaf (1 revision) ( #140682 )
...
437abd662d...afd214dccc
2023-12-27 737941+loic-sharma@users.noreply.github.com [Windows] Move DWM flush to Windows proc table for mocking (flutter/engine#49398 )
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC aaclarke@google.com ,rmistry@google.com,zra@google.com on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
2023-12-28 00:58:14 +00:00
engine-flutter-autoroll
d17c25c0bf
Roll Flutter Engine from 8256eeb7386d to 437abd662da2 (1 revision) ( #140680 )
...
8256eeb738...437abd662d
2023-12-27 skia-flutter-autoroll@skia.org Roll Dart SDK from a95d7384db93 to be080de22019 (1 revision) (flutter/engine#49407 )
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC aaclarke@google.com ,rmistry@google.com,zra@google.com on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
2023-12-27 23:55:24 +00:00