18471 Commits

Author SHA1 Message Date
Chris Yang
c01cbd23cc
Add CADisableMinimumFrameDurationOnPhone migration (#100647) 2022-03-25 17:50:09 -07:00
Anurag Roy
e7ab846d14
[flutter_tools] Fix VersionUpstreamValidator to respect FLUTTER_GIT_URL (#100605) 2022-03-25 17:35:10 -07:00
Michael Goderbauer
7eeafb1287
Consider backgroundBlendMode in equality of BoxDecoration (#100788) 2022-03-25 16:50:15 -07:00
Christopher Fujino
ef8e3578c1
[flutter_tools] update pub packages (#100726) 2022-03-25 16:45:09 -07:00
Jenn Magder
12da4a2aff
Filter out some stray Xcode logging during macOS builds (#100707) 2022-03-25 16:35:11 -07:00
fzyzcjy
8037677dd6
Fix FollowerLayer (CompositedTransformFollower) has null pointer error when using with some kinds of Layers (#100672) 2022-03-25 16:25:13 -07:00
LongCatIsLooong
a63ee24b17
Reland "Avoid calling performLayout when only the relayout boundary is different" (#100581) 2022-03-25 16:20:14 -07:00
Ahmed Ashour
2268aebbae
Remove the end period of a URL in project template (#99816) 2022-03-25 16:15:13 -07:00
Taha Tesser
4526519225
Tooltip: Add an example for TooltipTriggerMode.manual and add tests for existing Tooltip examples (#100554) 2022-03-25 15:51:06 -07:00
Zachary Anderson
bfa272ac3e
Revert " Android Q transition by default (#98559)" (#100799)
This reverts commit c82ddd39e54fed2401e8b89dd82960d6ac9717d3.
2022-03-25 14:54:21 -07:00
Alex Li
c82ddd39e5
Android Q transition by default (#98559) 2022-03-25 14:03:21 -07:00
Tyler Holland
7208065019
Allow Drawer width to be customized (#99777)
* Add ability to customize Drawer width

* Fix formatting

* More formatting

* Formatting again

* Add width to DrawerThemeData and add associated tests

* Fix test formatting
2022-03-25 21:19:20 +01:00
chunhtai
a3b7feb897
Editable text sends enableInteractiveSelection to text input client (#100649)
* Editable text sends enableInteractiveSelection to text input client

* addressing comments
2022-03-25 13:13:56 -07:00
Justin McCandless
ef11bff4e0
Check for mount after cut postframecallback (#100776)
Fixes a crash that can happen when removing an input field immediately after cut.
2022-03-25 10:49:07 -07:00
chunhtai
568eef343e
Revert "Dismiss Modal Barrier on handleTapCancel (#98191)" (#100784)
This reverts commit 58ad6e1befb771369c697570ada026a806db5ada.
2022-03-25 10:43:10 -07:00
xubaolin
31191dd29a
Fixes some widgets(ListView.builder, GridView.builder etc.) state-lose issue (#100547)
* ++

* ++

* ++

* ++

* codereview feedback

* ++
2022-03-25 09:27:08 +08:00
fzyzcjy
7c804f6909
Fix typo (again) (#100684) 2022-03-24 13:46:37 -07:00
chunhtai
93fc7f59a5
fix hidden TextSpan with recognizer does not auto scroll (#100494) 2022-03-24 13:39:55 -07:00
Emmanuel Garcia
19680c34cc
Revert "Reland: "Always use texture layer when displaying an Android view" (#100237)" (#100660)
This reverts commit d92fedcccb645ba155e93c5b72052692f10196b1.
2022-03-24 00:28:13 -07:00
Taha Tesser
321ffa2ead
Move ListTileTheme and its tests into separate classes and add visualDensity to the ListTileTheme (#100622) 2022-03-23 13:29:30 -07:00
CHAHBOUN Mohammed
ba53b55949
Add child for placeholder widget (#100372) 2022-03-23 13:20:23 -07:00
Darren Austin
0a7b3d72c9
Updated tokens to v0.92. (#100599) 2022-03-23 12:10:17 -07:00
jellynoone
3420b9c50e
Fix compute in unsound null safety debug mode (#100544) 2022-03-23 11:30:07 -07:00
Justin McCandless
1f3ed602a1
Fix crash after paste and unmount (#100589) 2022-03-23 10:15:09 -07:00
Danny Tuppeny
801ad5cd5a
Don't terminate Dart process pids from VM Service, record flutter_tools VM pid (#100223)
* Don't terminate Dart process pids from VM Service

These processes may be on another device, and in the case of attach the debugee should not be terminated anyway.
2022-03-23 16:31:31 +00:00
WenJingRui
dbbaf68ee4
Fix: fix the delay of showOnScreen animation when keyboard comes up. (#99546) 2022-03-23 02:10:09 -07:00
xubaolin
f1d8e30c4b
Add HitTestBehavior property to MouseRegion (#100405) 2022-03-22 23:55:11 -07:00
xubaolin
16dda86539
Fix a ModalbottomSheet bug (#99970) 2022-03-22 15:55:13 -07:00
Jonah Williams
32c021bd33
[framework] use Uint8List for SMC (#100582) 2022-03-22 15:00:13 -07:00
Danny Tuppeny
ea8aeb7427
[dap] Remove some code that's not longer required (#98928) 2022-03-22 14:20:12 -07:00
Kate Lovett
8e7b361651
Add back Gold passfail (#100576) 2022-03-22 14:00:20 -07:00
Darren Austin
86c02e998b
Migrate Card widget to Material 3. (#100532) 2022-03-22 13:46:56 -07:00
LongCatIsLooong
dc331d393b
[RenderAnimatedSize] Resume interrupted resizing animation on attach (#100519) 2022-03-22 13:15:12 -07:00
Anurag Roy
74f08c7352
[flutter_tools] Skip version freshness check for non-standard remotes (#97202) 2022-03-22 12:50:21 -07:00
Taha Tesser
a24246029a
Make Tooltip state class public (#100553) 2022-03-22 12:10:22 -07:00
Michael Goderbauer
8560d914eb
Upgrade to flutter_lints 2.0 (#99881) 2022-03-22 11:00:23 -07:00
Kate Lovett
d435b72448
Revert "Re-land text selection theme clean up" (#100564) 2022-03-22 10:30:22 -07:00
Darren Austin
a6e945fb1f
Add surfaceTint color to the ColorScheme. (#100153) 2022-03-21 23:14:33 -07:00
LongCatIsLooong
69b92f0452
Hide autocomplete menu on select. (#100251) 2022-03-21 21:25:09 -07:00
Chris Bracken
fd3c34c9d4
[macOS] Use arm64 snapshot in arm64 App.framework (#100504)
Previously, https://github.com/flutter/flutter/pull/100271 enabled
building universal macOS binaries by default, but included a bug causing
the arm64 App.framework to be built such that the TEXT section
containing the app instructions built by gen_snapshot incorrectly
contained x86_64 instructions rather than arm64 instructions.

When building macOS (and iOS) apps, Flutter builds them in three
components:
* The Runner application: built by Xcode
* The bundled App.framework: built from assembly code generated by
  gen_snapshot from the application's Dart sources.
* The bundled FlutterMacOS.framework: built as part of the engine build
  and packaged by copying the distributed binary framework from our
  artifacts cache.

Building App.framework consists of the following steps:
* For each architecture, invoke gen_snapshot to generate
  architecture-specific assembly code, which is then built to object
  code and linked into an architecture-specific App.framework.
* Use the `lipo` tool to generate a universal binary that includes both
  x86_64 and arm64 architectures.

Previously, we were building architecture specific App.framework
binaries. However, for all architectures we were (mistakenly) invoking
the general `gen_snapshot` tool (which emitted x64 instructions, and
which is now deprecated) instead of the architecture-specific
`gen_snapshot_x86` and `gen_snapshot_arm64` builds which emit
instructions for the correct architecture.

This change introduces a small refactoring, which is to split the
`getNameForDarwinArch` function into two functions:
* `getDartNameForDarwinArch`: the name for the specified architecture as
  used in the Dart SDK, for example as the suffix of `gen_snapshot`.
* `getNameForDarwinArch`: the name for the specified architecture
  as used in Apple tools, for example as an argument to `lipo`. For
  consistency, and to match developer expectations on Darwin platforms,
  this is also the name used in Flutter's build outputs.

Issue: https://github.com/flutter/flutter/issues/100348
2022-03-21 20:36:57 -07:00
Jesús S Guerrero
50f3e47b67
Revert "[flutter_tools] remove pub dependencies from universal #97722" (#100508) 2022-03-21 19:20:10 -07:00
Kate Lovett
63a12b3d31
Re-land text selection theme clean up (#99927) 2022-03-21 17:56:28 -05:00
Kate Lovett
5bc9340233
Put stretch indicator behind m3 flag (#100234) 2022-03-21 17:55:57 -05:00
Chris Yang
e6bd208196
Reland "Add the refresh rate fields to perf_test #99710" (#99854) 2022-03-21 15:55:13 -07:00
Kate Lovett
c9312c784d
Fix stretch edge case (#99365) 2022-03-21 15:50:18 -07:00
gaaclarke
97258979df
Revert "Starts using the --source flag to compile the dart registrant. (#98046) (#100493) 2022-03-21 13:40:23 -07:00
Pierre-Louis
9d4e81678b
Fix deprecated_new_in_comment_reference for material library (#100289)
* fix deprecated_new_in_comment_reference for `material` library

in a future version of the SDK, these will be flagged, fix them now

* Update pubspec.yaml
2022-03-21 20:18:40 +01:00
MrBirb
4d2dc5d642
Typo in EditableText strutStyle (#100474) 2022-03-21 11:55:15 -07:00
Taha Tesser
4cea5ee0da
CupertinoSwitch: Add clickable cursor for web (#99554) 2022-03-21 10:10:24 -07:00
Pierre-Louis
8c1c2f6af5
Introduce Theme extensions (#98033)
* first pass

* x

* x

* address feedback

* support multiple extensions

* add convenience function, Object ⇒ dynamic, lerping

* remove not-useful comment

* fix examples/api lower sdk constraint

* remove trailing spaces

* remove another pesky trailing space

* improve lerp

* address feedback

* hide map implementation from constructor and copyWith

* use iterableproperty

* Revert "hide map implementation from constructor and copyWith"

This reverts commit a6994af0046e3c90dbc9405cac628feb5b2d3031.

* slow down sample

* make theme extension params required

* add null check

* improve documentation

* fix hashCode and operator == overrides

* modify existing tests

* remove trailing spaces

* add all tests except lerping

* fix lerping bug

* add toString to themeExtension example

* add lerping test

* assume non-nullability in example

* address feedback

* update docs

* remove trailing space

* use Map.unmodifiable
2022-03-21 15:26:30 +01:00