9253 Commits

Author SHA1 Message Date
Viren Manojkumar Khatri
2bc7939a9c
Add disable argument in DropdownMenuItem (#76968)
Co-authored-by: Shi-Hao Hong <shihaohong@google.com>
Adds a disable argument in DropdownMenuItem widget and added tests.
Design Doc: docs.google.com/document/d/13W6PupVZUt6TenoE3NaTP9OCYsKBIYg9YgdurKe1XKs
2021-04-15 14:48:55 -07:00
Michael Goderbauer
2a8dba4af6
Treat some exceptions as unhandled when a debugger is attached (#78649) 2021-04-15 10:49:02 -07:00
Tong Mu
eb73516739
Shortcut activator (#78522)
This PR introduced a new class, ShortcutActivator, and refactored the the definition and lookup system of shortcuts, in order to solve a few issues of the previous algorithm.
2021-04-15 01:42:49 -07:00
xubaolin
97fd3ce932
fix a BackButtonListener bug (#80355) 2021-04-14 21:59:02 -07:00
Dan Field
e7b7ebc066
Shake widget inspector from non-debug builds (#80157) 2021-04-14 21:54:03 -07:00
Hans Muller
cd4fe85bfa
Added support for AppBarTheme.toolbarHeight (#80467) 2021-04-14 17:01:08 -07:00
Hans Muller
2f1d034087
Updated the OutlinedButton class API doc (#80454) 2021-04-14 17:00:20 -07:00
Kate Lovett
a745fc5870
Fix FlexibleSpaceBar Opacity when AppBar.toolbarHeight > ktoolbarHeight (#80453) 2021-04-14 16:59:03 -07:00
Greg Spencer
6b06943c32
Handle null primary focus when receiving key events (#80302)
This allows the key handling code in the shortcut manager to function when there is a null primaryFocus. The primary focus can be null only in some special circumstances (e.g. when an app hasn't set any focus at all), but that shouldn't cause a crash.
2021-04-14 16:52:27 -07:00
Shi-Hao Hong
3eeadc28f3
[State Restoration] Restorable FormField and TextFormField (#78835)
* Restorable FormField and TextFormField
2021-04-15 07:49:57 +08:00
Romain Rastel
10d5ec875d
Improve the performances of ChangeNotifier (#71947) 2021-04-14 16:49:03 -07:00
Hans Muller
2848126735
Re-land "Added MaterialState.scrolledUnder and support in AppBar.backgroundColor" (#80395) 2021-04-14 09:49:03 -07:00
Abhishek Ghaskata
d1d80aa883
Add timer picker link (#80336) 2021-04-14 09:44:02 -07:00
Shi-Hao Hong
884129d156
Autocomplete and RawAutocomplete initialValue parameter (#80257) 2021-04-14 09:39:04 -07:00
Pedro Massango
a4411b5565
Add onTap and autocorrect into CupertinoSearchTextField (#79966) 2021-04-14 09:34:05 -07:00
Greg Spencer
36daea2d54
Reland "Remove a dynamic that is no longer necessary (and the TODO for it) (#80294)" (#80373) 2021-04-13 18:29:21 -07:00
Pedro Massango
65388ee2ee
Add TextOverflow into TextStyle (#78927) 2021-04-13 18:09:03 -07:00
xubaolin
257f511298
update SearchDelegate's leading and actions widgets can be null (#80006) 2021-04-13 13:59:03 -07:00
Michael Debertol
5140376ee3
Calculate the system overlay style based on the AppBar background color (#75091) 2021-04-13 13:54:04 -07:00
Hans Muller
989a2f24d2
Revert "Added MaterialState.scrolledUnder and support in AppBar.backgroundColor (#79999)" (#80380)
This reverts commit 17870d5d7eb81bc2021454093e9115c2c0d3c850.
2021-04-13 10:59:10 -07:00
Angjie Li
c0c231be3b
Revert "Reland InteractiveViewer.builder (#79287)" (#80305)
This reverts commit 0fd75528de3f8d5225ce721e8be27041b8f6e2b6.
2021-04-13 10:58:50 -07:00
Jenn Magder
0fdc4e8805
Revert "Remove a dynamic that is no longer necessary (and the TODO for it) (#80294)" (#80326)
This reverts commit 12ec7dc8790feb437566c8b8e6b6e883a110b4d1.
2021-04-12 18:50:00 -07:00
Greg Spencer
12ec7dc879
Remove a dynamic that is no longer necessary (and the TODO for it) (#80294) 2021-04-12 16:55:03 -07:00
Hans Muller
7c78a05793
Fixed typos in AppBar.toolbarHeight API doc sample (#80316) 2021-04-12 16:53:24 -07:00
Darren Austin
f79ad055bc
Make the ReorderableListView padding scroll with the list. (#80251) 2021-04-12 12:44:22 -07:00
Hans Muller
17870d5d7e
Added MaterialState.scrolledUnder and support in AppBar.backgroundColor (#79999) 2021-04-12 12:44:02 -07:00
Lasse R.H. Nielsen
e537661a1e
Change test to not implement ByteData (#80049) 2021-04-12 12:30:04 -07:00
Chinmoy
d118748737
Added enableFeedback property to FloatingActionButton (#69826) 2021-04-12 12:25:12 -07:00
Justin McCandless
1075b2a1c5
Add a potentially missing TextSelectionOverlay dispose (#79988) 2021-04-09 14:44:02 -07:00
Hans Muller
457985f290
Added ButtonStyle.maximumSize (#80087) 2021-04-09 08:31:48 -07:00
Kate Lovett
58c4bd1063
Revert "improve the scrollbar behavior when viewport size changed (#76102)" (#80059) 2021-04-08 16:09:03 -07:00
Michael Goderbauer
994a19ec5f
Clear listeners when AnimationController is disposed (#79998) 2021-04-08 15:59:03 -07:00
Michael Goderbauer
97abe4418c
Fix doc for FlexColumnWidth.value (#79990) 2021-04-08 15:54:03 -07:00
Michael Goderbauer
ac8e1f8fc4
Reduce severity of memory leak when BuildContext/Element is retained (#79957) 2021-04-08 15:49:02 -07:00
houyushan
94fdd88fca
When updating TabController widget, if _controller.index >= widget.length, update _animationController's value (#79535) 2021-04-08 15:34:03 -07:00
Justin McCandless
0fd75528de
Reland InteractiveViewer.builder (#79287) 2021-04-08 15:29:05 -07:00
xubaolin
625be62a01
fix paste crash when section is invalid (#78948) 2021-04-08 15:24:05 -07:00
Tong Mu
8a821ff0b5
Revert "Remove "unnecessary" imports. (#79610)" (#80070)
This reverts commit 98a96189937105f51e58e65543e2c6019a82cb33.
2021-04-08 11:36:30 -07:00
Sam Rawlins
98a9618993
Remove "unnecessary" imports. (#79610) 2021-04-07 22:34:03 -07:00
xubaolin
f4a6b21869
Fix a rotation gesture bug (#79035) 2021-04-07 22:29:02 -07:00
Hans Muller
bf41c83956
Redo fix for button.icon layout overflow (#79085) 2021-04-07 15:05:24 -07:00
Sam Rawlins
a6153c528a
Remove "unnecessary" imports in test/widgets (#79608) 2021-04-07 14:49:05 -07:00
Ricardo Canastro
136da59e6b
Support block delete with word and line modifiers (#79973)
Adds support for overridable delete/backspace keyboard shortcuts
2021-04-07 13:29:37 -07:00
Marcel Čampa
242581418f
Dedup CupertinoAlertDialog and CupertinoActionSheet source code (#78202) 2021-04-07 13:09:07 -07:00
Justin McCandless
0efb28d706
Revert "Fix a legacy TODO (#77454) (#79061)" (#79959)
This reverts commit b070ed3c04caa6e348c068b1fe8396527fc46554.
2021-04-07 12:24:22 -07:00
Mahesh Jamdade
9a7eae0c32
docs: add an example to ReorderableListView.builder (#79193)
docs: add an example to ReorderableListView.builder.
2021-04-07 12:23:06 -07:00
Jenn Magder
a637fcd344
Revert "Support block delete with word and line modifiers (#79695)" (#79968)
This reverts commit 0ba2f6a87fbfd857c0a4e01a47e824dcab5462de.
2021-04-07 11:44:30 -07:00
Ricardo Canastro
0ba2f6a87f
Support block delete with word and line modifiers (#79695)
Support for keyboard backspace/delete shortcuts
2021-04-07 10:54:28 -07:00
xubaolin
f11b47f7e6
update BorderTween nullable (#79919) 2021-04-07 09:02:11 -07:00
c1yde3
3dbe7f23c5
fix cupertino refresh control style (#79842) 2021-04-06 23:04:02 -07:00