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
fzyzcjy
36fa6c4d90
Fix wrong documentation: There is no LeaderLayer._lastOffset anymore ( #100300 )
2022-03-18 16:55:12 -07:00
chunhtai
c98cb4a450
Add fadeDuration back to TextSelectionOverlay ( #100381 )
...
* Add fadeDuration back to TextSelectionOverlay
* fix build and add dart fix
* format
* add test
2022-03-18 13:05:18 -07:00
Jonah Williams
5a52ad6dbd
[framework] Remove danger zone ( #100246 )
2022-03-18 11:30:21 -07:00
Justin McCandless
a217bbb6de
Hide toolbar after select all on desktop ( #100261 )
2022-03-18 10:50:18 -07:00
Taha Tesser
795fe375bc
Fix PopupMenuButton's IconButton not inheriting IconTheme size ( #100199 )
2022-03-18 10:05:17 -07:00
Michael Goderbauer
3d46ab920b
Reorganize compute docs and add sample code ( #100253 )
2022-03-17 18:45:21 -07:00
Anthony
7c73053f70
[Material] Use InkSparkle for splashFactory in ThemeData when useMaterial3 is true for Android non-web runtimes ( #99882 )
...
[Material] Use InkSparkle for splashFactory in ThemeData when useMaterial3 is true for Android non-web runtimes (#99882 )
2022-03-17 20:49:42 -04:00
Jonah Williams
984d8a8b5a
Revert "[framework] don't hit test for system nav bar or system chrome on desktop" ( #100263 )
2022-03-17 16:55:24 -07:00
Justin McCandless
30846de3ec
Material text selection menu should not show pointer cursor ( #100248 )
2022-03-17 16:50:15 -07:00
Dan Field
ff74557c3a
Specify destination when building for macOS ( #100315 )
...
Fixes #86590
2022-03-17 16:39:05 -07:00
Jesús S Guerrero
03b4f2bf50
[flutter_tools] process exception during linux_doctor is handled ( #100159 )
2022-03-17 16:15:22 -07:00
Danny Tuppeny
b39a9473f8
Handle Flutter.Error events and disable structure errors for noDebug mode ( #100149 )
2022-03-17 16:05:21 -07:00
Darren Austin
6ec0b83580
Add support for surface tint color overlays to Material widget. ( #100036 )
2022-03-17 15:58:24 -07:00
Christopher Fujino
e99a66a47e
[flutter_tools] check if stream is open before sending message in ios device ( #99947 )
2022-03-17 15:55:24 -07:00