Greg Spencer
fa3d2e2116
Remove nullOk parameter from Focus.of, FocusTraversalOrder.of, and FocusTraversalGroup.of ( #68917 )
...
This removes the nullOk parameter from Focus.of, FocusTraversalOrder.of and FocusTraversalGroup.of, and creates maybeOf equivalents for each. The of methods now return non-nullable values, and the maybeOf equivalents return nullable values.
2020-10-29 14:02:09 -07:00
Greg Spencer
4fa5fe5f0b
Remove nullOk from Scaffold.of and ScaffoldMessenger.of, create maybeOf for both ( #68908 )
2020-10-29 14:01:32 -07:00
Greg Spencer
e5f7726c7b
Remove nullOk parameter from AnimatedList.of and SliverAnimatedList.of ( #68925 )
...
This removes the nullOk parameter from AnimatedList.of and SliverAnimatedList.of, and creates maybeOf equivalents for each. The of methods now return non-nullable values, and the maybeOf equivalents return nullable values.
2020-10-29 14:01:05 -07:00
Greg Spencer
85a252569b
Remove nullOk parameter from Router.of and make it return a non-nullable value ( #68910 )
...
This removes the nullOk parameter from Router.of, and createsRouter.maybeOf. Router.ofnow returns a non-nullable value, and the Router.maybeOf returns a nullable value.
2020-10-29 14:00:47 -07:00
Greg Spencer
4f586fa355
Remove nullOk parameter from Shortcuts.of, Actions.find, and Actions.handler ( #68921 )
...
This removes the nullOk parameter from Shortcuts.of, Actions.find and Actions.handler and created Shortcuts.maybeOf and Actions.maybeFind. Shortcuts.of and Actions.find now return non-nullable values, and the maybe versions return a nullable value. I didn't create a non-nullable version of Actions.handler, since it needs to be able to return null if an action is not enabled, but I did remove the nullOk parameter, effectively setting it to true permanently, since setting it to false doesn't make much sense if the function can still return null when the action is not enabled.
2020-10-29 13:59:36 -07:00
Ian Hickson
5317330904
Remove the defaults for textBaseline ( #68646 )
2020-10-29 13:13:06 -07:00
Yegor
46b1b67797
fix stack frame parser ( #69253 )
2020-10-28 19:27:04 -07:00
Darren Austin
69d7637796
Revert "Updated SearchDelegate to follow custom InputDecorationTheme ( #55209 )" ( #69241 )
2020-10-28 17:52:05 -07:00
Danny Lin
62741337b8
Fix links to GitHub bug template ( #68374 )
2020-10-28 17:42:05 -07:00
Michael Goderbauer
396cd24770
Allow adding/removing onTap/onDismiss to Semantics ( #69230 )
2020-10-28 17:32:12 -07:00
David Reveman
4aad058a49
Improve resampling of up and remove events. ( #69096 )
...
* Improve resampling of up and remove events.
This improves resampling of these events by searching
for them until the next approximate sample time.
Co-authored-by: David Reveman <reveman@google.com>
2020-10-28 17:02:37 -04:00
xubaolin
58a74af8a6
Revert "Revert "change TextEditingController.clear() behavior ( #68775 )" ( #68920 )" ( #69156 )
...
(Reland) Fixes a bug where keyboard capitalization behavior was reset by TextEditingController.clear.
2020-10-28 13:51:21 -07:00
xubaolin
91ab73ab23
Mouse drag should not show selection handles ( #69101 )
...
Fixes a bug where selection handles sometimes showed on web.
2020-10-28 11:24:46 -07:00
Per Classon
5434dd59a7
[Material] Add splash radius property to selection controls ( #69197 )
2020-10-28 11:22:04 -07:00
Michael Goderbauer
8cbc849222
Fix dropdown crash ( #69211 )
2020-10-28 11:17:53 -07:00
Per Classon
92d9630eaf
Add side property to Chips, and resolve it and the state of Chips to be MaterialState aware ( #68596 )
2020-10-28 11:12:09 -07:00
Anurag Roy
f03caeafa7
Add useDeleteButtonTooltip property for Chip ( #68237 )
2020-10-28 11:07:04 -07:00
Konstantin Scheglov
7b86be228e
Use runZonedGuarded() instead of deprecated onError. ( #69160 )
2020-10-28 08:43:31 -07:00
Greg Spencer
55289324c6
Remove nullOk in MediaQuery.of ( #68736 )
...
Adds MediaQuery.maybeOf to replace calling MediaQuery.of(context, nullOk: true), and removes the nullOk parameter. Also changes MediaQuery.of to return a non-nullable value, and removes many instances of the ! operator, reducing the possible places where a null dereference could occur.
2020-10-28 07:56:41 -07:00
Daniel Edrisian
35a94f70e1
Adaptive progress indicator ( #69143 )
2020-10-27 23:47:04 -07:00
Kate Lovett
b86fa13235
Add horizontal gesture support for CupertinoScrollbar ( #69063 )
2020-10-27 15:57:03 -07:00
Daniel Edrisian
d3a8b03574
Adaptive TextField ( #68918 )
2020-10-27 15:27:03 -07:00
Michael Goderbauer
f5ce638959
Add Directionality.maybeOf ( #69117 )
2020-10-27 14:44:50 -07:00
Gildásio Filho
48a9fc13d5
Updated SearchDelegate to follow custom InputDecorationTheme ( #55209 )
...
Updated SearchDelegate to follow InputDecorationTheme
2020-10-27 14:08:43 -07:00
Justin McCandless
09dc5599dd
Selecting spaces ( #68227 )
...
When attempting to select a space on mobile, Flutter will try to select the word before the space too, if one exists.
2020-10-27 11:30:07 -07:00
Michael Goderbauer
95563ff197
Make WidgetsLocalizations.of non-nullable ( #69055 )
2020-10-27 09:16:41 -07:00
Justin McCandless
291ee94506
AutocompleteCore ( #62927 )
...
A new widget that chooses an item from a list based on text input. Just the core widget, with Material and Cupertino versions to come.
2020-10-27 08:58:52 -07:00
Michael Goderbauer
9fb1c521b1
InheritedTheme updates ( #69050 )
2020-10-27 06:57:03 -07:00
Shi-Hao Hong
d50bfd5f66
Fix null issue with dynamically updating from zero tabs for TabBar ( #69005 )
2020-10-27 06:52:04 -07:00
xubaolin
b99443c7ff
Apply Desktop specs for Tooltip ( #68681 )
2020-10-27 06:42:03 -07:00
Daniel Edrisian
e818c47059
Added CupertinoSearchTextField ( #68074 )
2020-10-27 06:37:03 -07:00
chunhtai
6cfb86fbcb
Fix crash if update pages right after a navigator pop ( #68923 )
2020-10-26 16:50:54 -07:00
Michael Goderbauer
27e1efc159
Delay Route disposal until OverlayEntries are unmounted ( #68913 )
2020-10-26 16:22:37 -07:00
MH Johnson
70aa1227c2
[Material] Fix BottomNavTheme.showSelectedLabels bug ( #67342 )
2020-10-26 14:47:02 -07:00
Alexandre Ardhuin
17cdf5559d
enable unnecessary_string_escapes and use_raw_strings ( #68302 ) ( #69025 )
2020-10-26 12:42:05 -07:00
Justin McCandless
c2bb928981
Proper light/dark colors, and test that text is not color of background ( #67679 )
2020-10-26 08:37:03 -07:00
Justin McCandless
b9195d807c
Revert "change TextEditingController.clear() behavior ( #68775 )" ( #68920 )
...
This reverts commit 95909c2a04ef62cc72aab61ac26157b8a8ad7a20.
2020-10-26 08:03:09 -07:00
Yash Johri
f3562c6f1d
[SwitchListTile and CheckboxListTile] Adds selectedTileColor property ( #68358 )
2020-10-23 14:07:05 -07:00
Michael Goderbauer
6cb6eef615
Make Material/CupertinoLocalizations non-nullable ( #68807 )
2020-10-23 09:12:42 -07:00
Cyp
45e02daf22
Correctly handle centerSlice with resoultion-aware assets. ( #68325 )
2020-10-22 21:57:03 -07:00
Jonah Williams
b25ce5b16c
Revert "Fix a multiple pointers bug ( #68587 )" ( #68841 )
...
This reverts commit bde85ea3bb3e80c1294c6d084eb5f9804867be8f.
2020-10-22 19:16:08 -07:00
xubaolin
bde85ea3bb
Fix a multiple pointers bug ( #68587 )
...
* Fix mutiple pointers bug
* Add unit test case
* Remove unnecessary map clone
2020-10-22 16:09:47 -07:00
xubaolin
95909c2a04
change TextEditingController.clear() behavior ( #68775 )
...
Fixes a bug where keyboard capitalization mode was exited when pressing clear.
2020-10-22 15:56:26 -07:00
Kate Lovett
8e8f61856a
Fix overscroll edge case that puts NestedScrollViews out of sync ( #68644 )
2020-10-22 15:37:06 -07:00
YeungKC
c5c2b24a07
Fix floating behavior of long label and outline input border ( #68727 )
...
Corrects the space available to the label in an outlined text field
2020-10-22 15:36:06 -07:00
Alexander Brusher
099ae9b417
Re-enables tests previously failing due to new semantics flag. ( #66916 )
2020-10-22 15:32:03 -07:00
xubaolin
1bd661f4d4
fix a widgetspan hittest bug ( #68694 )
2020-10-22 14:27:04 -07:00
Ian Hickson
6a434ab9ec
Fix grammar and writing style for some of the Router documentation ( #68513 )
2020-10-22 14:22:09 -07:00
stuartmorgan
3da995adec
Handle backspace in text fields ( #68812 )
...
Currently the framework handles delete, but not backspace, so embeddings
all have to implement backspace handling themselves. This eliminates
that inconsistency and allows simplified code in embeddings by adding
backspace handling.
It also fixes a bug uncovered in the delete handling where deleting a
selection would also delete the next character after the selection.
2020-10-22 13:51:07 -07:00
Dan Field
4af674285b
Move service extension to correct binding so images are repainted after enabling/disabling, update test ( #68793 )
...
* Move service extension to correct binding so images are repainted after enabling/disabling, update test
* Update binding.dart
2020-10-22 13:34:21 -07:00