Rami
79400b2462
[Material] Update some semantics for time picker controls ( #66652 )
2020-10-01 09:06:46 -04:00
Michael Goderbauer
19e07d2beb
Migrate flutter_test ( #66663 )
2020-09-30 17:03:40 -07:00
Jonah Williams
2d37e086ca
[desktop] default to shrink wrap on desktop platforms ( #66754 )
2020-09-28 14:27:02 -07:00
Michael Goderbauer
062e469f1b
Page-subclasses to take children instead of builder ( #66694 )
2020-09-27 15:32:07 -07:00
Nguyễn Thanh Hải
693c4a7ccc
Fix last month not being displayed if last date is selected in DateRangePicker ( #66542 )
2020-09-25 17:02:04 -07:00
MH Johnson
7d89f21613
[Material] Remove opacity from dark theme overlay check ( #66596 )
...
* Remove opacity from check and add test
2020-09-25 10:41:27 -04:00
Hans Muller
890e6ccea6
Replaced obsolete use of FlatButton with TextButton ( #66597 )
2020-09-25 07:31:56 -07:00
Yash Johri
9bfab77835
Changed title to label ( #66186 )
2020-09-23 18:57:03 -07:00
Greg Spencer
bbd7b97664
Change the default visual density to be adaptive based on platform. ( #66370 )
...
Based on feedback from various desktop developers, and to be consistent between the defaults and the sample code, this PR switches the default for visual density in desktop themes to be compact instead of standard.
It also removes the same setting from the sample code generated by "flutter create" because it is no longer needed now that it is the default.
2020-09-23 11:14:58 -07:00
Dan Field
7eb8447485
Allow new methods to be added to ui.Image for tests ( #65876 )
...
Remove fake image implementations, add createTestImage to flutter_test
2020-09-22 11:55:39 -07:00
Justin McCandless
4c7f746374
TextField intrinsic height layout bug ( #66291 )
...
Fixes a bug when TextField is wrapped in IntrinsicHeight and visual density is below standard.
2020-09-21 15:29:00 -07:00
Justin McCandless
e00b1531af
Reland "TextField constrained layout bug ( #65966 )" ( #66055 )
2020-09-18 15:02:04 -07:00
xubaolin
73194cd9f2
Fix bug when updating the divisions and value of the slider at the same time ( #65998 )
2020-09-18 14:52:03 -07:00
Yash Johri
8fb807a4d3
Changed title to label in bottom_navigation_bar_test.dart ( #65918 )
2020-09-18 14:47:05 -07:00
GodHyum
d26268bb9e
Change LicensePage's loading color from scaffoldBackgroundColor to cardColor ( #64639 )
...
* wrap LicensePage's loading widget with cardColor
* Set AnimatedSwitcer's duration in LicensePage to zero
* Remove AnimatedSwitcher
* Add test code for checking color is same
2020-09-17 17:06:26 -07:00
chunhtai
70f21de9de
reland always adds alert label for alert dialog in Android ( #66057 )
2020-09-17 16:17:05 -07:00
Darren Austin
1f62776935
Reland ##65044 ( #66061 )
...
Turn the opt-in default for ThemeData.useTextSelectionTheme to true so that everything uses the new TextSelectionTheme by default.
2020-09-17 15:55:45 -07:00
Matěj Žídek
827cbc353a
Minor docs updates ( #64966 )
2020-09-17 15:27:07 -07:00
Hans Muller
b56a8c569e
Replaced reference to obsolete FlatButton button class in SnackBar ( #65988 )
2020-09-17 15:16:20 -07:00
Jonah Williams
a3aeab0c83
Revert "TextSelectionTheme support (step 2 of 3) ( #65044 )" ( #66051 )
...
This reverts commit cb92ffc7fa2a3731b98bd4dc7ddfedcc1f50ea6e.
2020-09-17 11:43:28 -07:00
renyou
48ba488d33
Revert "TextField constrained layout bug ( #65966 )" ( #66027 )
...
This reverts commit 10a66b19d5a7b7169602af74795c80e139907266.
2020-09-17 09:37:33 -07:00
Jonah Williams
d15da04f4f
Revert "always adds alert label for alert dialog in Android ( #65973 )" ( #66031 )
...
This reverts commit fd0554ba89e6e2904355bc96622554b6a4ca6bf9.
2020-09-17 07:51:28 -07:00
chunhtai
fd0554ba89
always adds alert label for alert dialog in Android ( #65973 )
2020-09-16 17:42:05 -07:00
Darren Austin
cb92ffc7fa
TextSelectionTheme support (step 2 of 3) ( #65044 )
2020-09-16 17:22:04 -07:00
nero
021c2010df
[ReorderableListView] remove extra margin added after picking up the item ( #65080 )
2020-09-16 16:37:04 -07:00
Justin McCandless
10a66b19d5
TextField constrained layout bug ( #65966 )
...
Fix a bug in the layout of some textfields with constrained height and visual density.
2020-09-16 14:19:34 -07:00
Michael R Fairhurst
7f3c9b6bda
Remove unused 'dart:async' imports. ( #65568 )
2020-09-16 14:14:06 -07:00
YeungKC
0220c3585c
Fix FormFieldState value not in sync with the onChanged value from TextFormField. ( #65695 )
2020-09-16 08:13:05 -07:00
Anthony
081b598f40
Update Navigation Rail test with regression comment and cleaner size checking ( #65877 )
2020-09-15 22:22:08 -07:00
Tong Mu
a48e14308e
Expose GestureBinding.handlePointerEvent, replacing dispatchEvent as the preferred way to dispatch events ( #64846 )
2020-09-15 22:17:06 -07:00
Hans Muller
eb5ab2cb5c
Buttons animate elevation changes before changing background color ( #65662 )
2020-09-15 10:57:04 -07:00
Anthony
50f929f98e
[Material] Fix a jumping animation in the beginning of the extended Navigation Rail transition ( #65659 )
2020-09-15 10:52:04 -07:00
GodHyum
dfd0c6270f
Remove back button when using end drawer ( #63272 )
2020-09-15 00:57:03 -07:00
Greg Spencer
94592acb71
Creates a way to test private APIs in the Flutter package. ( #65505 )
2020-09-13 15:52:03 -07:00
Greg Spencer
3055ae4e93
Eliminate the need for the mockito package in animated_icons_private_test ( #65199 )
2020-09-10 15:50:03 -07:00
Hans Muller
13860a7d23
Revert "Re-land ScaffoldMessenger ( #65416 )" ( #65482 )
...
This reverts commit adc5f26b504f3cb80557455d8f0badad874ebc8b.
2020-09-10 13:17:51 -07:00
Per Classon
ba1aeb409e
Reland "Add DataTableTheme to allow for themable DataTables ( #64316 )" ( #65383 )
2020-09-10 13:00:04 -07:00
Mouad Debbar
0d8de393aa
[web] Don't show handles when selection change is caused by keyboard ( #65127 )
2020-09-09 15:40:06 -07:00
Hansol Lee
389b5b6c3a
Fix TabBar jag when user interrupts ballistic scroll ( #64380 )
2020-09-09 15:35:05 -07:00
Haeseok Lee
011331dce5
Fixes issue, ReorderableListView destroys children even if their key-type wasn't changed ( #64855 )
2020-09-08 21:25:05 -07:00
Hans Muller
adc5f26b50
Re-land ScaffoldMessenger ( #65416 )
2020-09-08 16:02:06 -07:00
chunhtai
9cb2d4d65c
Fixed the sliver appbar to have a fixed traversal order ( #65049 )
2020-09-08 12:05:02 -07:00
Per Classon
0bb1e573fc
Revert "Add DataTableTheme to allow for themable DataTables ( #64316 )" ( #65382 )
...
This reverts commit cb4b8677219482e3378b1b6bfeff1241a453ccb6.
2020-09-08 15:28:13 +02:00
Zachary Anderson
02d0163244
Revert "ScaffoldMessenger ( #64101 )" ( #65257 )
...
This reverts commit 48f1a0a8d5531a08de638f087678770dd26b01ba.
2020-09-04 13:46:53 -07:00
Kate Lovett
48f1a0a8d5
ScaffoldMessenger ( #64101 )
2020-09-03 15:55:04 -07:00
Smadey
68c1b441be
Clamp TabController animation value when calc _DragAnimation.value ( #64715 )
2020-09-02 16:45:06 -07:00
Per Classon
cb4b867721
Add DataTableTheme to allow for themable DataTables ( #64316 )
2020-09-02 15:40:06 -07:00
xubaolin
c7353bc414
Slider and RangeSlider can be painted in a narrower constraint like other Material Wi… ( #64627 )
2020-09-02 11:20:03 -07:00
Chris Bracken
c0ea00ed3f
Prefer moreOrLessEquals over closeTo ( #64915 )
...
Flutter's `moreOrLessEquals` has a few advantages over `closeTo` from
the `matcher` package:
* It emits the epsilon value in the test result on failure.
* It uses a named parameter for epsilon, which improves readability
at the call site.
* It has a reasonable default for epsilon in cases where something
more specific isn't required.
Using it also has the nice property that it aids in its own discovery
when when people go looking for such functionality in new tests.
This change also includes a couple unrelated whitespace formatting cleanups.
2020-08-30 22:20:16 -07:00
LongCatIsLooong
fe55dc2b13
Reland "Prevent viewport.showOnScreen from scrolling the viewport if the specified Rect is already visible. ( #56413 )" reverted in #64091 ( #64513 )
2020-08-28 22:13:04 -07:00