Commit Graph

4433 Commits

Author SHA1 Message Date
Hans Muller
51dd5bf1f7 Added ButtonStyle.splashFactory and NoSplash.splashFactory (#74949) 2021-02-01 18:11:04 -08:00
Jan Lübeck
9c434c8260 Adds First/Last buttons to PaginatedDataTable (#73964) 2021-02-01 18:06:06 -08:00
xubaolin
12016e4145 Reland "Update PopupMenuButton to match Material Design spec" (#74620) 2021-02-01 14:46:03 -08:00
LongCatIsLooong
76be55813b Move caret/highlight painting to custom painters (#72828) 2021-02-01 14:41:04 -08:00
chunhtai
13fe079bb3 fixes preceision error during SliverGridRegularTileLayout (#74851) 2021-02-01 12:46:05 -08:00
Sam Rawlins
d0d9b80520 Remove "unnecessary" imports in foundation,gestures tests (#75007) 2021-01-29 14:46:06 -08:00
Sam Rawlins
02c348b8bf Remove "unnecessary" imports in cupertino tests (#75006) 2021-01-29 14:41:04 -08:00
LongCatIsLooong
fb9ff62cf4 InputDecorator negative baseline error message (#74837) 2021-01-29 14:26:06 -08:00
xubaolin
cd771404e9 TextField and last input character should visible on the screen when the cursor is not shown (#74722) 2021-01-29 09:29:09 -08:00
Yegor
791edc230d always pass filterQuality specified in the Image widget to canvas (#74854) 2021-01-28 21:54:03 -08:00
Sam Rawlins
31732bc67d emove "unnecessary" imports in test/animation (#74901) 2021-01-28 18:29:03 -08:00
Kenzie Schmoll
1ceffd28cd Only show devtools deep links for render overflow errors (#74916) 2021-01-28 18:24:08 -08:00
Jesse
2e7ab87a4d Reland "Add BuildContext parameter to TextEditingController.buildTextSpan" (#73510) 2021-01-28 09:49:03 -08:00
xubaolin
d40f4399e2 Fix a slider layout bug when the overlay size is smaller than the thumb size (#74880) 2021-01-28 09:04:06 -08:00
Darren Austin
650b240634 Fix a bug with duplicate keys being used in the ReorderableListView. (#74842) 2021-01-27 21:39:06 -08:00
Greg Spencer
c05f623c6b Remove FocusTraversalGroups from the final sorted list of descendants. (#74758)
This fixes a subtle bug in the focus traversal that would leave unfocusable FocusTraversalGroup nodes in the list of sorted nodes to be traversed, causing an assert to fire if you nested a FocusTraversalGroup in another one and made its children unfocusable.
2021-01-27 15:58:08 -08:00
Pedro Massango
a2ce206695 expose clipBehavior (#74046) 2021-01-27 14:54:46 -08:00
Alexandre Ardhuin
d546e1d311 fix for upcoming lint use_named_constants (#74788) 2021-01-27 20:20:44 +01:00
Shi-Hao Hong
c6a428d500 [State Restoration] CupertinoModalPopupRoute (#74805)
* Expose CupertinoModalPopupRoute for state restoration

* Add state restoration test, expose kCupertinoModalBarrierColor
2021-01-28 03:00:01 +08:00
Hans Muller
2d9fad09ba Added ButtonStyle.fixedSize (#74773) 2021-01-27 10:54:06 -08:00
Jonah Williams
7c0300a358 [flutter] throw more specific error messages if a lerp'd type does not conform to Tween API (#74684) 2021-01-27 09:20:56 -08:00
Darren Austin
7db172b24d Added a ReorderableListView.builder constructor (#74697)
Added constructor parameters to the ReorderableList that were missing from ScrollView. Also replace a lot of doc comments with macro templates to reduce duplication.
2021-01-26 17:18:40 -08:00
Todd Volkert
5584fce36e Switch global key registry to be owned by the build owner. (#74701)
This gets away from the extra static map for global key registrations
in favor of the data structures being instance properties of the build
owner. This still allows for semantically-equivalent static access through
the binding (which in turn gives access to the build owner).

This also adds a `BuildOwner.globalKeyCount` getter to get the count
of global keys associated with widgets currently in the tree.
2021-01-26 14:28:58 -08:00
xster
00143388a2 default CupertinoSliverNavigationBar's stretch to false (#74669) 2021-01-26 09:24:04 -08:00
Greg Spencer
2eeeba9c09 Remove nullOk from Actions.invoke, add Actions.maybeInvoke (#74680)
This removes the nullOk parameter from Actions.invoke, and adds an Actions.maybeInvoke function. The difference is that invoke will now always (in debug mode) throw if an enabled action isn't found, and maybeInvoke will return null if an enabled action isn't found. The invoke function can still return null as the result of the invocation, though, so I purposely didn't change the return value to Object from Object?.
2021-01-25 20:52:30 -08:00
Daniel
fbc3683b18 ChoiceChip's default "selected" style in dark mode theme is unreadable #49984 (#74610) 2021-01-25 20:04:03 -08:00
Yurii Cherniavskyi
6d9e3c3fa9 Expose insetPadding and clipBehavior in SimpleDialog (#73571) 2021-01-25 19:44:05 -08:00
Darren Austin
efe8a397a8 Added some tests and comments from Shi-Hao for the ReorderableLists. (#74689) 2021-01-25 18:54:10 -08:00
xubaolin
1e7f3955ce fix a RenderBox.size access exception (#74402) 2021-01-25 18:54:05 -08:00
Michael Goderbauer
b400534dc7 remove some stray nullOK mentions from docs (#74661) 2021-01-25 11:34:04 -08:00
YeungKC
e623d93d2b Fix dropdown menu overscroll (#73654) 2021-01-25 10:49:04 -08:00
Chinmoy
76d411433f Added padding property to NavigationRail items (#69404) 2021-01-25 10:44:05 -08:00
Kenzie Schmoll
c89d649847 Add connectedVmServiceUri service extension and set from flutter_tools (#74534)
* Add connectedVmServiceUri service extension and set from flutter_tools
2021-01-25 10:40:14 -08:00
Darren Austin
8529e5a05c New Reorderable list widgets (#74299)
Introduced new widget/ReorderableList and widget/SliverReorderableList widgets.
2021-01-22 21:44:13 -08:00
Justin McCandless
f3947ea0cd Autocomplete (Material) (#73753)
* Material Autocomplete widget
2021-01-23 10:02:30 +08:00
Justin McCandless
d9a69e3b72 Desktop keys: up/down + line modifier (#74425)
up/down arrows + cmd (optionally + shift) works on desktop to jump selection to beginning/end of field
2021-01-22 17:56:18 -08:00
Mouad Debbar
e204eb2fca Space and arrow keys in a text field shouldn't scroll (#74454) 2021-01-22 16:39:04 -08:00
Kenzie Schmoll
0b3162bd9c Create custom DiagnosticsNode type for DevTools deep links. (#74455)
* Create custom DiagnosticsNode type for DevTools deep links.
2021-01-22 16:29:42 -08:00
Shi-Hao Hong
5801f0e5fe Expose DialogRoutes for state restoration support (#73829) 2021-01-22 16:20:44 -08:00
Zain Ur Rehman
46b0797b58 Expose AnimationController property to showBottomSheet/showModalBottomSheet (#72541)
* Expose AnimationController property to showBottomSheet/showModalBottomSheet (#72541)
ong <shihaohong@google.com>

Co-authored-by: Kate Lovett <katelovett@google.com>
Co-authored-by: Shi-Hao Hong <shihaohong@google.com>
2021-01-22 17:48:49 +08:00
xubaolin
5b1a771269 MaterialBanner alignment fixes and improvements (#74309) 2021-01-21 18:44:03 -08:00
Kate Lovett
eb9bac6489 ScaffoldMessenger only shows to root nested Scaffold (#74093) 2021-01-21 17:34:05 -08:00
xubaolin
4bdea117a4 fix a tap gesture exception (#73846) 2021-01-21 17:29:04 -08:00
Zain Ur Rehman
45cf27923a [showModalBottomSheet] fix: showModalBottomSheet does not move along keyboard (#71636) 2021-01-21 17:19:04 -08:00
Jonah Williams
cecb7f3b58 Revert "Update PopupMenuButton to match Material Design spec (#70160)" (#74439)
This reverts commit 79d0358ece.
2021-01-21 12:51:53 -08:00
Pierre-Louis
fe87bc69b6 Add material icons golden test (#74131)
* Create icons golden test

* Update icons_test.dart

* Update icons_test.dart

* Update icons_test.dart

* change test name

* Add ability to load material icon font for golden tests

* formatting

* Skip test for browser

* Add end of file newline

* Rewrite with different method

* Add skip for browser
2021-01-21 17:31:35 +01:00
Kenzie Schmoll
b45088c0cf Print DevTools inspector links in RenderFlex Overflow errors (#74251) 2021-01-21 02:59:04 -08:00
Justin McCandless
a8471a61f8 Material Desktop Context Menu (#74286)
Very simple right-click context menu for Windows and Linux in a Material-esque style.
2021-01-20 16:29:01 -08:00
LongCatIsLooong
a4b27cbf63 Update CupertinoSlidingSegmentedControl (#73772) 2021-01-20 14:54:03 -08:00
LongCatIsLooong
61299b1621 Revert "[text_input] prepare for custom text input sources (#72803)" (#74349) 2021-01-20 13:54:06 -08:00