9090 Commits

Author SHA1 Message Date
Michael Goderbauer
7f2c1cd772
Use PlatformDispatcher.instance over window where possible (#99496) 2022-03-03 14:46:16 -08:00
Kate Lovett
a4aeb77876
Deprecate MaterialButtonWithIconMixin (#99088) 2022-03-03 12:56:18 -08:00
Greg Spencer
940986e00a
Add material localizations for keyboard keys used for shortcut descriptions in menus. (#99020)
This change adds some localizations for keyboard keys that will be used in creating shortcut descriptions in menus.
2022-03-02 18:56:47 -08:00
Taha Tesser
d1daa5ddc2
CupertinoSliverNavigationBar: Add example (#99384)
Part of #72926
2022-03-02 18:31:50 -08:00
Michael Goderbauer
00f3f2b14f
More beautiful linear_gradient sample (#99298) 2022-03-02 16:41:21 -08:00
joellurcook
95d1fabe59
Simplify SafeArea test for maintainBottomViewPadding to ensure maintainBottomViewPadding is always respected (#97646) 2022-03-02 16:01:26 -08:00
Kate Lovett
d211f3ff13
Limit overscroll stretching (#99364) 2022-03-02 12:36:25 -08:00
Kate Lovett
f8eee10f96
Revert "Draggable can be accepted when the data is null" (#99419) 2022-03-02 10:31:11 -08:00
xubaolin
4b20ce74e3
Fix a Scrollbar hittest penetration issue (#99328) 2022-03-02 10:26:23 -08:00
Markus Aksli
03ed3c911c
Reland "Dismiss text selection toolbar with ESC" (#98995) 2022-03-02 07:26:24 -08:00
chunhtai
64d9ea60b1
Revert "Clean up ClipboardStatusNotifier (#98951)" (#99361)
This reverts commit c74a646b7bba1641d0b2b29f6024dc867844e94c.
2022-03-01 15:13:30 -08:00
Renzo Olivares
54b7b5c3a2
Remove redundant properties passed to _Editable (#99192) 2022-03-01 14:36:20 -08:00
Jonah Williams
1dd24b8af8
[framework] improve Notification API performance by skipping full Element tree traversal (#98451) 2022-03-01 13:00:23 -08:00
Hari07
872e6048b1
Added viewport fraction parameter to tabView (#98512) 2022-03-01 10:41:24 -08:00
Viren Khatri
078deb9230
Migrates packages/flutter to from hashValues to Object.hash (#96109)
* migrates lib/foundation and lib/widgets

* migrates lib/painting and lib/material

* migrates lib/cupertino, lib/gestures, lib/services, lib/semantics and lib/rendering

* fixes failing tests

* migrates test/

* improves hashing of lists
2022-03-01 23:54:11 +05:30
Mahesh Jamdade
0038a3e29f
Add NavigationBar dartpad example (#97046) 2022-03-01 10:14:09 -08:00
Darren Austin
670e26d7d7
Updated to v0.86 of the Material Design tokens. (#99292)
Added the navigation_rail.json as well.
2022-02-28 13:56:32 -08:00
Tong Mu
7959c3953d
[Keyboard] Correctly convert down events that are immediately synthesized released (#99200) 2022-02-28 13:55:24 -08:00
Alberto
b44cbe1dd5
feat: Added docstring examples to AnimatedBuilder and ChangeNotifier (#98628) 2022-02-28 12:41:20 -08:00
Craig Labenz
c2269611f4
added wotw links for Baseline and GestureDetector (#99178) 2022-02-25 14:24:11 -08:00
Taha Tesser
d8e93ffb8b
Add clipBehavior to Snackbar (#98252) 2022-02-25 09:56:22 -08:00
Taha Tesser
fd71de13fd
[ReorderableListView] Add footer (#92086) 2022-02-25 06:06:15 -08:00
xubaolin
839bd6317f
Do not crash if dispatch the mouse events before the tooltip overlay detached (#97268) 2022-02-25 03:21:19 -08:00
Jonah Williams
e25670a2a0
[framework] Provide gesture settings to regular gesture detectors (#99081) 2022-02-24 20:41:12 -08:00
xubaolin
2ce43fac7b
Fix a Tabs crash when change the TabControllers (#98242) 2022-02-24 20:06:25 -08:00
Viren Khatri
281f1421df
adds trackRadius to ScrollbarPainter and RawScrollbar (#98018) 2022-02-24 19:26:23 -08:00
Simon
f0d444721b
Correct font weight for Cupertino tab label (#90109) 2022-02-24 19:21:18 -08:00
Justin McCandless
8d5903f746
Pasting collapses the selection and puts it after the pasted content (#98679)
Desktop selection behavior improvement.
2022-02-24 12:06:55 -08:00
Tomasz Gucio
533a5dde96
Call bringIntoView after RenderEditable updates on paste (#98604) 2022-02-23 16:49:22 -08:00
xubaolin
2ad0ac0ef2
Draggable can be accepted when the data is null (#97355) 2022-02-23 15:19:22 -08:00
Tomasz Gucio
9e7cc970ea
Use int for PlaceholderSpan.placeholderCodeUnit (#98971) 2022-02-23 14:59:06 -08:00
chunhtai
c74a646b7b
Clean up ClipboardStatusNotifier (#98951)
* Clean up ClipboardStatusNotifier

* fix

* fix test

* more refactaaaaagit add .
2022-02-23 10:02:20 -08:00
chunhtai
1178c8e9d3
Revert "Remove redundant hide handles API from TextSelectionDelegate (#98944)" (#99008)
This reverts commit 94f6fd6ea8934407452853405835b92fec0d7ad9.
2022-02-23 09:48:53 -08:00
Viren Khatri
922bbfeed7
Adds onReorderStart and onReorderEnd arguments to ReorderableList. (#96049) 2022-02-23 04:24:21 -08:00
Kate Lovett
cddd5524d4
Remove deprecated DayPicker and MonthPicker (#98543) 2022-02-22 18:19:15 -08:00
Darren Austin
3f52d5800a
Fixed some issues and clarified the docs for ReorderableListView. (#98954) 2022-02-22 17:07:48 -08:00
Bencze Balázs
a1a5c1496c
Add actionsOverflowAlignment parameter to dialog (#95995) 2022-02-22 16:26:20 -08:00
chunhtai
94f6fd6ea8
Remove redundant hide handles API from TextSelectionDelegate (#98944) 2022-02-22 14:44:18 -08:00
Tomasz Gucio
e4351ff053
Enable use_if_null_to_convert_nulls_to_bools lint (#98753) 2022-02-22 14:39:20 -08:00
chunhtai
fd41d419b4
Fix getOffsetForCaret to return correct value if contains widget span (#98542) 2022-02-22 12:29:22 -08:00
Kirolous Nashaat
9dc9cf57f2
Added optional parameter keyboardType to showDatePicker (#93439) 2022-02-22 11:45:06 -08:00
Tomasz Gucio
cd2413c2c3
Avoid unnecessary lambdas in SelectionOverlay.showHandles() (#98912) 2022-02-22 09:49:16 -08:00
Justin McCandless
3b05d80622
Spacebar and enter in EditableText work with Inkwells (#98469)
Fixes a bug especially with text fields in a ListTile where space and enter didn't work.
2022-02-22 09:11:08 -08:00
Kate Lovett
f9921ebcda
Remove deprecated VelocityTracker constructor (#98541) 2022-02-18 13:49:17 -08:00
Taha Tesser
14a406f87a
Show RefreshIndicator on top when scroll's axis direction is up (matching native behaviour) (#93779) 2022-02-18 09:34:18 -08:00
Taha Tesser
c504797c42
Remove clipBehavior == Clip.none conditions (#98503) 2022-02-18 01:29:16 -08:00
Kate Lovett
466b1e8d79
Remove deprecated UpdateLiveRegionEvent (#98615) 2022-02-17 16:24:19 -08:00
Kate Lovett
38dae1bfc0
Update stretching overscroll clip behavior (#97678) 2022-02-17 18:15:50 -06:00
Kate Lovett
8d25ddde19
Remove deprecated RectangularSliderTrackShape.disabledThumbGapWidth (#98613) 2022-02-16 17:50:13 -08:00
Michael Goderbauer
ac1fc234ea
Update example code and docs for InteractiveViewer.builder (#98623) 2022-02-16 17:25:17 -08:00