10529 Commits

Author SHA1 Message Date
Michael Goderbauer
c4a81e9e17
Remove unused replacement from Visibility.maintain (#123039)
Remove unused replacement from Visibility.maintain
2023-03-20 19:45:03 +00:00
Taha Tesser
8679aeb235
Fix TimePicker input mode width for 12-hour format (#122868)
Fix `TimePicker` input mode width for 12-hour format
2023-03-20 18:09:49 +00:00
Greg Price
0117de40d8
Give PolynomialFit more docs, and a debug toString (#122333)
Give PolynomialFit more docs, and a debug toString
2023-03-20 18:08:17 +00:00
acumen
e0ea39fee5
Reland "Fix bug with clicking Copy or Select All within contextMenu" (#122973)
Reland "Fix bug with clicking `Copy` or `Select All` within contextMenu"
2023-03-20 17:22:10 +00:00
Eilidh Southren
87ac905a5a
Add content-based colorScheme functionality (#122919)
* add shadowColor property

* add to bottom app bar

* basic MCU connection demo

* more image tests

* demo update

* remove branch changes

* demo cleanup

* cleanup

* update algo

* working consistent example

* demo cleanup

* Added tests

* fix merge

* rebase

* basic MCU connection demo

* more image tests

* demo update

* remove branch changes

* demo cleanup

* cleanup

* update algo

* working consistent example

* demo cleanup

* Added tests

* lint fixes

* fix theme error

* whitespace fixes

* revert old commit

* update test formatting

* modify image source to external repo

* remove pngs

* add blank line

* fix web tests

* comment responses

* remove whitespace

* whitespace

* whitespace
2023-03-19 12:14:19 +00:00
hangyu
9fc1fd15f6
Update Material 3 bottom sheet (#122445)
* M3 bottomsheet

* Update bottom_sheet.dart

* Update bottom_sheet.dart

* Update bottom_sheet.dart

* Update bottom_sheet.dart

* Update bottom_sheet.dart

* Update bottom_sheet.dart

* Update bottom_sheet.dart

* Update bottom_sheet.dart

* Update bottom_sheet.dart

* Update bottom_sheet.dart

* Update packages/flutter/lib/src/material/bottom_sheet.dart

Co-authored-by: Pierre-Louis <6655696+guidezpl@users.noreply.github.com>

* Update packages/flutter/lib/src/material/bottom_sheet.dart

Co-authored-by: Pierre-Louis <6655696+guidezpl@users.noreply.github.com>

* Update packages/flutter/lib/src/material/bottom_sheet.dart

Co-authored-by: Pierre-Louis <6655696+guidezpl@users.noreply.github.com>

* Update packages/flutter/lib/src/material/bottom_sheet.dart

Co-authored-by: Pierre-Louis <6655696+guidezpl@users.noreply.github.com>

* Update packages/flutter/lib/src/material/bottom_sheet.dart

Co-authored-by: Pierre-Louis <6655696+guidezpl@users.noreply.github.com>

* Update packages/flutter/lib/src/material/bottom_sheet.dart

Co-authored-by: Pierre-Louis <6655696+guidezpl@users.noreply.github.com>

* Update bottom_sheet.dart

Update bottom_sheet_test.dart

Update bottom_sheet.dart

* showDragHandle defaults to false

* fix test

---------

Co-authored-by: Pierre-Louis <6655696+guidezpl@users.noreply.github.com>
2023-03-18 20:13:08 -07:00
Greg Price
328f088aeb
Fix interference in fling-scrolling from cross-axis motion (#122338)
Fix interference in fling-scrolling from cross-axis motion
2023-03-17 20:51:58 +00:00
Renzo Olivares
358d79cb0d
TextField should support disabled input text style (#119216)
Co-authored-by: Renzo Olivares <roliv@google.com>
2023-03-17 10:09:49 -07:00
Greg Spencer
bcdab118ba
Add support for application exit requests (#121378)
Add support for application exit requests
2023-03-17 15:35:55 +00:00
Cc
1ab7b4616c
async.dart file reformat. (#122521)
Co-authored-by: Casey Hillers <chillers@google.com>
2023-03-16 20:16:54 -07:00
Ian Hickson
245d6d45a1
Assert that runApp is called in the same zone as binding.ensureInitialized (#122836)
Assert that runApp is called in the same zone as binding.ensureInitialized
2023-03-16 22:33:09 +00:00
Qun Cheng
5180e45080
Create SearchBar and SearchBarTheme (#122309) 2023-03-16 15:04:19 -07:00
yaakovschectman
6711411fc2
Revert "Fix bug with clicking Copy or Select All within contextMenu (#120081)" (#122832)
Revert "Fix bug with clicking `Copy` or `Select All` within contextMenu"
2023-03-16 20:35:49 +00:00
yaakovschectman
5bea4d9023
Revert "Assert that runApp is called in the same zone as binding.ensureInitialized (#117113)" (#122830)
Revert "Assert that runApp is called in the same zone as binding.ensureInitialized"
2023-03-16 20:29:13 +00:00
Ian Hickson
96f927fb0d
Assert that runApp is called in the same zone as binding.ensureInitialized (#117113)
Assert that runApp is called in the same zone as binding.ensureInitialized
2023-03-16 19:28:14 +00:00
acumen
4a8e0b62c0
Fix bug with clicking Copy or Select All within contextMenu (#120081)
Fix bug with clicking `Copy` or `Select All` within contextMenu
2023-03-16 19:28:11 +00:00
Chinmoy
e1eb1b9ecf
Added onSecondaryTap in InkWell. (#119058)
Exposes onSecondaryTap in InkWell.
2023-03-16 17:02:57 +00:00
Bruno Leroux
09cc1c4cda
Fix cursor disappear on undo. (#122402)
Fix cursor disappear on undo.
2023-03-16 08:18:57 +00:00
Bruno Leroux
5e54139a94
Fix MenuAnchor closes on internal scroll (#122696)
Fix MenuAnchor closes on internal scroll
2023-03-15 20:32:02 +00:00
Justin McCandless
ffed0d57ef
DateRangePicker keyboardType (#122353)
DateRangePicker now has a keyboardType parameter, same as DatePicker.
2023-03-15 11:34:10 -07:00
Andrew Kolos
313b01658a
Reland "Speed up first asset load by using the binary-formatted asset manifest for image resolution" (#122505)
Reland "Speed up first asset load by using the binary-formatted asset manifest for image resolution"
2023-03-15 18:17:05 +00:00
Qun Cheng
e08d250eeb
Run dart command to update widget defaults (#122557)
* Run dart command to update widget defaults

* Revert the tokens and the template

---------

Co-authored-by: Qun Cheng <quncheng@google.com>
2023-03-15 18:53:29 +01:00
Bruno Leroux
5d10cc28ca
Fix TabBarView and TabBar animations are not synchronized (#122021) 2023-03-15 09:22:50 -07:00
Michael Goderbauer
a599c08c32
Remvoe last few references to window singleton (#122644)
Remove last few references to window singleton
2023-03-15 00:34:34 +00:00
Kate Lovett
4cac07b716
Update ScrollableDetails for 2D scrolling (#122555)
Update ScrollableDetails for 2D scrolling
2023-03-14 20:28:16 +00:00
Taha Tesser
d24a28b806
Cleanup M3 token templates for theme lookups (#122601)
Cleanup M3 token templates for theme lookups
2023-03-14 17:01:13 +00:00
Greg Spencer
a05f21ff0b
Refine the directional traversal algorithm for out of band widgets (#122556)
Refine the directional traversal algorithm for out of band widgets
2023-03-14 00:25:15 +00:00
LongCatIsLooong
1306d7f158
Fix Caret Height On Empty Lines (#120834)
* improve caret caching, fix caret for empty text/line, `getLocalRectForCaret` now reports the real rect that will be painted.
move caret x-coordinate clamping to RenderEditable since TextPainter doesn't know about clipping.

* comments

* review
2023-03-13 15:37:42 -07:00
pdblasi-google
7dd53fefe9
Reland (3): Removes single window assumptions from flutter_test (#122422)
Reland (3): Removes single window assumptions from `flutter_test`
2023-03-13 21:50:24 +00:00
Michael Goderbauer
12ef7535a8
Reland "Introduce the PipelineOwner tree (#122231)" (#122452)
Reland "Introduce the PipelineOwner tree (#122231)"
2023-03-13 17:58:56 +00:00
Pierre-Louis
598ebfbd66
Update Material tokens to 0.162 (#122388)
Update Material tokens to 0.162
2023-03-13 16:16:07 +00:00
Jonah Williams
8d4fd89c74
Revert "Reland "Speed up first asset load by using the binary-formatted asset manifest for image resolution (#121322)" (#122449)
Revert "Reland "Speed up first asset load by using the binary-formatted asset manifest for image resolution"
2023-03-11 03:30:06 +00:00
Mitchell Goodwin
e77cb1a06b
Constrain date picker to max width to avoid bending outwards (#120827)
Constrain date picker to max width to avoid bending outwards
2023-03-10 21:51:07 +00:00
Kate Lovett
7ce88694c5
Clean up scrollable.dart for 2D (#122357)
Clean up scrollable.dart for 2D
2023-03-10 21:39:45 +00:00
Jim Graham
670f9d2037
Revert "Introduce the PipelineOwner tree (#122231)" (#122425)
This reverts commit f73c358e43df7c123e6d0141b3bc822877a1855d.
2023-03-10 13:15:46 -08:00
Michael Goderbauer
f73c358e43
Introduce the PipelineOwner tree (#122231)
Introduce the PipelineOwner tree
2023-03-10 19:57:17 +00:00
Callum Moffat
e078c93bfe
SelectionChangedCause for iOS keyboard-select (#122144)
SelectionChangedCause for iOS keyboard-select
2023-03-10 19:13:28 +00:00
Casey Hillers
1f42612323
Revert PRs relating to single window assumption (#122369)
* Revert "Remove references to BindingBase.window (#122119)"

This reverts commit c7681f00cf1fb1c63bebb27d715f29feb77b78b7.

* Revert "Remove another reference to BindingBase.window (#122341)"

This reverts commit 6ec444506375cfa94535a45c2320e01094c295e0.

* Revert "Reland (2): Removes single window assumptions from `flutter_test` (#122233)"

This reverts commit eb3d317ea06e59fadc379210f5c6e685505d8e0f.

* Revert "Remove single view assumption from TestViewConfiguration (#122352)"

This reverts commit 927289fb4e5b25a71f794bc808a8c31554859a50.

* Revert "Updates `flutter/test/cupertino` to no longer use `TestWindow` (#122325)"

This reverts commit 67e17e45f05271c6c409183c1d33806683cb9e4d.

* Revert "Updates `flutter/test/gestures` to no longer reference `TestWindow` (#122327)"

This reverts commit c2a5111cc0f9bcb104982b38a1a0a9c4210b601f.

* Revert "Updates `flutter/test/rendering` to no longer use `TestWindow` (#122347)"

This reverts commit 28b65e089b3f8e8c21572cd8a73184858b6360c3.

* Revert "Updates `flutter_localizations/test` to stop using `TestWindow` (#122321)"

This reverts commit 01367d52d7886f51a8921c9dc4a8e4c541686e98.
2023-03-09 22:53:38 -08:00
Greg Price
47922979c6
Document on ScrollPhysics the requirement to override applyTo (#121850)
Document on ScrollPhysics the requirement to override applyTo
2023-03-10 01:52:34 +00:00
Hasnen Tai
c5da5070f1
Feat : TextField cursor color matching M2 and M3 Spec in error state (#119225)
According to Material specs, cursor should be red in error state.
2023-03-09 10:23:41 -08:00
pdblasi-google
eb3d317ea0
Reland (2): Removes single window assumptions from flutter_test (#122233)
Reland (2): Removes single window assumptions from `flutter_test`
2023-03-09 00:52:05 +00:00
xubaolin
c0e748fbf6
fix a scroll bar stutter bug (#121786)
Fix a scrolling stutter caused by dragging scrollbar
2023-03-09 00:18:18 +00:00
Bernardo Ferrari
a5061bf9d2
Fix GestureRecognizer allowedButtonsFilter. (#122227) 2023-03-09 00:37:22 +01:00
Callum Moffat
2e7b458793
No friction factor on macOS overscroll ease (#122143)
No friction factor on macOS overscroll ease
2023-03-08 21:34:55 +00:00
Bruno Leroux
3b4a882b61
Add one DefaultTextStyle example (#122182)
Add one DefaultTextStyle example
2023-03-08 20:40:54 +00:00
Bruno Leroux
a5ed960d0b
SystemUiOverlayStyle, add examples and improve documentation (#122187)
SystemUiOverlayStyle, add two examples and improve documentation
2023-03-08 20:31:59 +00:00
Jami Couch
2a67bf78f0
Add support for iOS UndoManager (#98294)
Add support for iOS UndoManager
2023-03-08 19:45:49 +00:00
Callum Moffat
1ab3cb9ee3
Clear _scribbleCacheKey when connection closes (#122145)
Clear _scribbleCacheKey when connection closes
2023-03-08 19:42:04 +00:00
Casey Hillers
0091601057
Revert "Reland: Removes single window assumptions from flutter_test (#122060)" (#122193)
Revert "Reland: Removes single window assumptions from `flutter_test`"
2023-03-08 19:42:03 +00:00
Chris Bobbe
23b7bbd891
ModalBottomSheetRoute: Remove gap at screen bottom with useSafeArea: true (#122118)
ModalBottomSheetRoute: Remove gap at screen bottom with `useSafeArea: true`
2023-03-08 19:42:01 +00:00