Dan Field
bf3a907ce7
Revert Optimize transformRect ( #37049 )
...
* Revert "Optimize the transformRect and transformPoint methods in matrix_utils. (#36396 )"
This reverts commit 9946f7cff9621bf23c22508e7b2529e4126f7f05.
* add test
2019-07-26 22:06:03 -07:00
chunhtai
48c7090f3c
Revert "Enable selection by default for password text field and expose api to turn on and off context menu options ( #34676 )" ( #37055 )
...
This reverts commit 0d0af31598f5ee0552529bfd3fdc35be1d8fe176.
2019-07-26 18:25:52 -07:00
Jonah Williams
3068fc4f7c
Revert "Fix the first frame logic in tracing and driver ( #35297 )" ( #37027 )
...
This reverts commit 68fc7231b33dcb3f7c9e705e321135f009afda49.
2019-07-26 13:08:36 -07:00
brettfingo
38fdf56c16
Fix slider preferred height ( #36028 )
...
[Material] Fix slider preferred height
2019-07-26 13:42:15 -04:00
LongCatIsLooong
9c8badd1b5
Add SliverLayoutBuilder ( #35941 )
2019-07-26 10:39:44 -07:00
lisa-liao
63992e4fde
Add PopupMenuTheme to enable theming color, shape, elevation, text style of Menu ( #36088 )
...
* [Menu] Create Menu theme
* [Menu] Create Menu theme
* [Menu] Formatting changes for Menu theme
* [Menu] Fix spacing difference in theme_data.dart.
* [Menu] Fix spacing difference in theme_data.dart.
* Specifying types
* Formatting changes
* Address PR feedback
* Formatting changes
* Address PR feedback
* Add inherited widget
* Add inherited widget
* Address PR feedback and add inherited widget.
* Formatting changes.
* Address PR feedback
* Address PR feedback
* Address PR feedback
* Address PR feedback
2019-07-26 13:09:33 -04:00
gaaclarke
9b150f134b
Sped up shader warmup by only drawing on a 100x100 surface ( #36482 )
...
Sped up shader warmup by only drawing on a 100x100 surface and doing
the draw calls on top of each other.
2019-07-26 10:05:40 -07:00
chunhtai
0d0af31598
Enable selection by default for password text field and expose api to turn on and off context menu options ( #34676 )
2019-07-26 10:03:30 -07:00
liyuqian
68fc7231b3
Fix the first frame logic in tracing and driver ( #35297 )
...
This should fix https://github.com/flutter/flutter/issues/31442 and https://github.com/flutter/flutter/issues/34867
2019-07-26 09:38:12 -07:00
Shi-Hao Hong
2e43b47008
[Material] ToggleButtons ( #34599 )
...
* Introduces ToggleButtons widget
* Introduces ToggleButtonsTheme inherited widget
* Introduces ThemeData.toggleButtonsTheme property
2019-07-26 09:26:15 -07:00
Shi-Hao Hong
f1e87c48ef
Clarify showDuration and waitDuration API docs and test behavior ( #36970 )
...
* Improve showDuration and waitDuration explanation and tests
* Add condition to test to ensure that tooltip does not show before long press duration is over
2019-07-26 09:24:54 -07:00
Jon Tippens
a3712e361b
Fix minor typos ( #36893 )
2019-07-25 11:48:22 -07:00
Shi-Hao Hong
dee8e4211e
[Material] Implement TooltipTheme and Tooltip.textStyle, update Tooltip defaults ( #36856 )
...
* Implement TooltipThemeData and TooltipTheme
* Add text style property
* Updated tooltip default colors for light and dark theme to match Material specification
2019-07-25 09:09:24 -07:00
Gary Qian
52c801dc4f
Add reference to StrutStyle from TextStyle ( #36867 )
2019-07-24 17:41:12 -07:00
Tong Mu
9cbac2a4ce
Revert "Dismiss modal with any button press ( #32770 )" ( #36877 )
...
This reverts commit 1aa4628fa27034deb68743d636be5aba04b4ad6f.
2019-07-24 14:26:46 -07:00
Shi-Hao Hong
aa6384cbac
Revert "[Material] Implement TooltipTheme and Tooltip.textStyle, fix Tooltip debugLabel, update Tooltip defaults ( #36030 )" ( #36851 )
...
This reverts commit 62158a1bae83aedcc88d66694010911a98fff84a.
2019-07-24 08:55:51 -07:00
Shi-Hao Hong
62158a1bae
[Material] Implement TooltipTheme and Tooltip.textStyle, fix Tooltip debugLabel, update Tooltip defaults ( #36030 )
...
* Implement TooltipThemeData and TooltipTheme
* Add tooltip text style property
* Update default tooltip text style and decoration to match Material specification
* Fix debugLabel incorrectly labeling "white" as "black", and vice versa by default
2019-07-24 08:24:09 -07:00
brandondiamond
e08538c38f
Update visual style of CupertinoSwitch to match iOS 13 ( #36087 )
2019-07-24 08:20:19 -07:00
Harsh Bhikadia
dfc636bdd4
doc : ReorderableListView - added youtube video from WidgetOfTheWeek series ( #36421 )
2019-07-24 08:05:42 -07:00
K. P. Sroka
1b57006c82
Prevents infinite loop in Table._computeColumnWidths ( #36262 )
2019-07-23 19:51:57 -07:00
Jim Graham
9946f7cff9
Optimize the transformRect and transformPoint methods in matrix_utils. ( #36396 )
...
Primarily these methods no longer allocate any objects other than their
return values.
Additionally, the math in the methods is reduced compared to the general
case math based on known input conditions.
2019-07-23 17:25:39 -07:00
Devon Carew
d708d9deb2
add an error count field to the Flutter.Error event ( #36768 )
...
* add an error count field to the Flutter.Error event
* review comments; more tests
* normalize comments
2019-07-23 17:01:14 -07:00
Alexander Aprelev
d28f3c7cbb
Unskip date_picker_test on Windows as underlying issue 19696 was fixed. ( #36546 )
2019-07-22 13:55:49 -07:00
Gary Qian
07fdadd1d1
Add gradient text docs ( #36579 )
2019-07-22 13:20:34 -07:00
chunhtai
1cb6b8bb0d
fixes iphone force press keybaord select crashes ( #36698 )
2019-07-22 13:20:21 -07:00
Devon Carew
45ae4f6dbe
use sentence case in error message titles ( #35750 )
...
* use sentence case in error message titles
* add a test
2019-07-22 12:49:53 -07:00
Brian Egan
70b405ee18
Add images and update examples for top widgets: ( #36460 )
...
* Add images and update examples for top widgets:
- scaffold
- text field
- image
- text
- row
- column
- stack
2019-07-22 18:34:56 +02:00
Todd Volkert
fbd4bb91f6
Revert "AsyncSnapshot.data to throw if error or no data ( #34626 )" ( #36618 )
...
This reverts commit b61fcfd25d0b32ec3791d09493d0235bb9a2b43f.
2019-07-20 22:10:59 -07:00
Yegor
ecd89fb7ad
fix message codecs for the Web ( #36549 )
2019-07-19 13:49:15 -07:00
chunhtai
5ecda9e1b5
Adds doc example for Listview and pageview ( #36391 )
2019-07-19 13:19:24 -07:00
chunhtai
a52f0f773c
Fixes sliver list does not layout firstchild when child reordered ( #36493 )
2019-07-19 12:19:05 -07:00
chunhtai
2338576aa6
implement selectable text ( #34019 )
2019-07-19 12:17:41 -07:00
Gary Qian
41bc10fa70
Add text border docs ( #36485 )
2019-07-19 12:13:00 -07:00
Kate Lovett
38e41f5aee
SliverFillRemaining accounts for child size when hasScrollBody is false ( #35810 )
...
Fixes the hasScrollBody flag not accounting for child size. Adds the ability to specify over-scroll behavior.
2019-07-19 11:35:31 -07:00
Darren Austin
252491f8ac
Updated ColorScheme.dark() colors to match the Material Dark theme specification ( #36106 )
...
Updated ColorScheme.dark() primaryVariant, surface, background and error
colors to match the spec.
2019-07-19 11:31:29 -07:00
Todd Volkert
1170105eae
flutter update-packages --force-upgrade ( #36510 )
2019-07-18 22:21:58 -07:00
Todd Volkert
b61fcfd25d
AsyncSnapshot.data to throw if error or no data ( #34626 )
...
This updates `AsyncSnapshot.data` to act as `AsyncSnapshot.requireData`
used to -- and it removes `AsyncSnapshot.requireData`. Correspondingly,
this adds a `StreamBuilder.withoutInitialData()` constructor, makes the
`initialData` argument to the default `StreamBuilder()` constructor required,
and deprecates the `initialData` argument to the `FutureBuilder()` constructor.
See the breaking change announcement for more info.
https://github.com/flutter/flutter/issues/34545
https://groups.google.com/forum/#!topic/flutter-announce/H6Od0QdsdrI
2019-07-18 16:26:13 -07:00
Tong Mu
1aa4628fa2
Dismiss modal with any button press ( #32770 )
...
This PR makes ModalBarrier dismiss modal with any button press instead of primary button up, by making it use a private recognizer _AnyTapGestureRecognizer that claims victor and calls onAnyTapDown immediately after it receives any PointerDownEvent.
2019-07-18 15:33:49 -07:00
Shi-Hao Hong
db6c362bef
Implement InputDecorationTheme copyWith, ==, hashCode ( #36411 )
...
* Implement InputDecorationTheme copyWith, ==, hashCode
2019-07-18 14:40:39 -07:00
Dan Field
b7a49c4afe
fix sliver fixed pinned appbar ( #36333 )
2019-07-18 10:37:08 -07:00
Mouad Debbar
9c9b71a0fb
Add multi-line flag to semantics ( #36297 )
2019-07-18 10:36:22 -07:00
Jason Simpson
c60063b72d
[cupertino_icons] Add glyph references for brightness and brightness_filled ( #36174 )
2019-07-17 14:30:47 -07:00
Matan Shukry
0ab7047b72
Using custom exception class for network loading error ( #35335 )
...
Using custom exception class for network loading error
2019-07-17 14:23:03 -07:00
chunhtai
4eb11c9f52
Fixes RenderSliverFixedExtentBoxAdaptor correctly calculates leadingGarbage and trailingGarbage. ( #36302 )
2019-07-17 10:40:07 -07:00
Shi-Hao Hong
598ecb324d
Add clarifying docs on MaterialButton.colorBrightness ( #36202 )
...
* Add clarifying docs on MaterialButton.colorBrightness
2019-07-17 10:08:51 -07:00
伯言
b2cc97013d
Fix FocusTraversalPolicy makes focus lost ( #34153 ) ( #34712 )
...
FocusTraversalPolicy keep the previously visited node to avoid hysteresis. But even if the visited focus has been disposed, FocusTraversalPolicy will still use it to requestFocus, which will cause FocusManger to get an abandoned node to get the focus.
2019-07-17 10:00:06 -07:00
chunhtai
7992e3242d
Fix nested scroll view can rebuild if mark dirty during scheduleWarmUpFrame ( #36097 )
2019-07-17 09:29:08 -07:00
Dan Field
5923f34ce4
Revert "Fix semantics for floating pinned sliver app bar ( #35574 )" ( #36319 )
...
This reverts commit 39baa0995c53cd1378c7a9ede791543ad1e2e711.
2019-07-17 09:24:51 -07:00
Dan Field
c96806ec88
Allow semantics labels to be shorter or longer than raw text ( #36243 )
2019-07-16 20:40:36 -07:00
Dan Field
93a3ce7a8d
Disable flaky tests on Windows ( #36317 )
2019-07-16 16:26:15 -07:00