3706 Commits

Author SHA1 Message Date
chunhtai
09dfca6f5d
add static method to create material hero controller (#61662) 2020-07-17 14:26:03 -07:00
Jimmy Wei
14dcbb2d84
Fix overflow issue caused by a long title/subtitle for the vertical stepper (#61623) 2020-07-17 14:21:03 -07:00
Chris Yang
30e556ddc5
Add no-op callbacks to platform view gesture recognizer when necessary (#61671)
After #31935, Some one sequence gesture recognizers requires at least one callback to be able to compete in the arena. This PR adds the a no-op callback in the gesture recognizer in the platform view when the gesture recognizer does not have any callbacks. This way, all the gesture recognizers in the platform view can compete in the arena.
2020-07-17 12:13:22 -07:00
Konstantin Scheglov
741e9675e7
Remote returns for function expression inferred return type void. (#61582) 2020-07-17 09:36:03 -07:00
Todd Volkert
1840b7121a
Make scrollbar thickness and radius customizable (#61401)
* Make scrollbar thickness and radius customizable

https://github.com/flutter/flutter/issues/29576
https://github.com/flutter/flutter/issues/36412

* Add docs for constants

* No more magic numbers in test
2020-07-16 23:15:23 -07:00
Todd Volkert
7ea710c56e
Fix Border.symmetric: phase 2 (#61666)
This updates the default value of the `invertMeaningOfVerticalAndHorizontal`
argument from true to false.

https://github.com/flutter/flutter/issues/61470
2020-07-16 23:14:44 -07:00
Michael Goderbauer
1b406159f2
Give better error message for describeEnum (#61581) 2020-07-16 16:21:05 -07:00
Bogdan Lukin
9ef8192760
Fix/decoration equality (#61551) 2020-07-16 11:26:04 -07:00
Todd Volkert
e2cdc9f981
Allow transparent barrierColor in showDialog methods (#61516)
`showDialog()` and `showGeneralDialog()` were allowing transparent
colors but then triggering an assertion down the stack while building
the modal barrier. The assertion existed to keep from animating from
transparent to transparent, but there's no need for the assertion,
since we can just treat the transparent case as the same as the null
case -- no animation necessary.
2020-07-16 09:43:47 -07:00
Kate Lovett
16d5dd9b13
Fix NestedScrollView inner ballistic activity for 0 velocity (#61386) 2020-07-16 09:41:04 -07:00
Hans Muller
d90a246461
Corrected splash color for TextButton, ElevatedButton, OutlinedButton (#61576) 2020-07-16 09:40:11 -07:00
chunhtai
fc09119d0a
fix intrinsic height and width for widget span (#61485) 2020-07-16 09:36:09 -07:00
Pedro Massango
5a69de8263
FormField should autovalidate only if its content was changed (fixed) (#59766) 2020-07-16 09:31:05 -07:00
Todd Volkert
9e665e1d88
Update documentation for IntrinsicWidth & IntrinsicHeight (#61502)
https://github.com/flutter/flutter/issues/61496
2020-07-15 11:54:32 -07:00
Todd Volkert
0d2421d5df
Add defaults to showGeneralDialog() (#61503)
The function passes most of its arguments through to
`_DialogRoute`, but it wasn't providing the default
values that `_DialogRoute` was, causing it to override
the defaults will null values.
2020-07-15 11:53:55 -07:00
Alexandre Ardhuin
978a2e7bf6
migrate foundation to nullsafety (#61188)
* migrate foundation to nullsafety

* address review comments
2020-07-15 18:55:27 +02:00
Neevash Ramdial
e24cdab517
Re-land Expose height and width factor in AnimatedAlign (#61136) 2020-07-15 09:46:03 -07:00
Anthony
6f56ba453d
Automatically scale down Dialog padding for larger text scale factors (#58245) 2020-07-15 09:36:03 -07:00
Ayush Bherwani
26a5f5c3d6
[ListTileTheme] adds properties to customize tile color at theme level (#61532) 2020-07-15 05:46:03 -07:00
Todd Volkert
3ce06efd40
Default textBaseline to alphabetic in Flex (#61425) 2020-07-14 22:36:02 -07:00
Todd Volkert
4195ad4ef6
Fix Border.symmetric: phase 1 (#61474) 2020-07-14 13:21:02 -07:00
Jonah Williams
485034cab3
[flutter_tools] update fastReassemble method for single widget reloads (#61413)
For #61407 , we need to be able to find all widgets that of a given type. Previously I experimented with using the type name, but of course this does not handles subtypes. The actual check needs to be an is check.

Since there is no way to convert a String to a Type at runtime for use in this check, we can instead evaluate an expression which assigns a closure to a field. The idea for this was inspired by how the dart devtools adds debug functionality to older versions of flutter.

Since the reload feature is not complete yet, adds an integration test which simulates how it will eventually behave
2020-07-14 12:25:13 -07:00
Todd Volkert
74f3e6dd63
Add assert to Table to check for rows with null children (#61457) 2020-07-14 12:20:22 -07:00
Andre
06a35b3322
Improve error reporting for RenderObject visitChildren errors (#61455)
* Improve error reporting for RenderObject visitChildren errors

* Nits and fixes
2020-07-14 14:21:14 -04:00
Jason C.H
c047769487
Implement new activity indicator for iOS14 (#60179)
Updates the activity indicator style to iOS14, but places it behind a flag, to be deprecated when iOS 14 is released.
2020-07-14 09:21:27 -07:00
Ayush Bherwani
9cb7ac1353
[ListTile] adds new properties to customize the tile color (#61347) 2020-07-14 03:41:03 -07:00
Fabusuyi Ayodeji
1c96479760
expose route settings for showModalBottomSheet (#60640) 2020-07-14 01:36:02 -07:00
chunhtai
88a78d660e
reland "Adds semantics information for the popup menu item (#61258)" (#61385) 2020-07-13 16:16:02 -07:00
chunhtai
f7688c5001
issue 61346 route can be added and disposed in the same frame (#61375) 2020-07-13 16:11:03 -07:00
Hans Muller
82666ef19e
Update Card example and shadowColor default (#61392) 2020-07-13 16:01:09 -07:00
Dan Field
eadc35f62b
Optionally invert oversized images (#61209)
* Optionally invert oversized images
2020-07-13 14:03:23 -07:00
Hans Muller
0f57cd26f8
Make ThemeData.shadowColor the default shadowColor in TextButton et al. (#61371) 2020-07-13 13:34:54 -07:00
Tong Mu
da8695d389
Mouse events report correct local positions (#61190) 2020-07-13 13:26:03 -07:00
chunhtai
067d3da827
Revert "Adds semantics information for the popup menu item (#61258)" (#61377)
This reverts commit c6058df9ca8e871772c4a0444cff43690e33cb0d.
2020-07-13 12:24:42 -07:00
chunhtai
c6058df9ca
Adds semantics information for the popup menu item (#61258) 2020-07-13 11:21:03 -07:00
rami-a
b79efb8da3
[Material] Allow for customizing Snack bar margin, padding, and width (#61180) 2020-07-13 14:19:45 -04:00
Hans Muller
eac1747169
Renamed ContainedButton et al. to ElevatedButton et al. (#61262) 2020-07-11 08:50:43 -07:00
Nolan Scobie
dc0f122881
Revert "Revert "Tweaking Material Chip a11y semantics to match buttons (#60141)" (#60645)" (#61048) 2020-07-10 14:21:03 -07:00
Jonah Williams
d14a898f69
remove LICENSE/NOTICES work around (#61199)
Now that google3 has been updated, remove the LICENSE loading fallback. This was done in cl/320506032

#16723
2020-07-10 11:37:48 -07:00
Kate Lovett
01ac509620
Skip Audit - Last Leftovers (#60940) 2020-07-09 17:01:01 -07:00
Max Weber
c29009b3e8
Added the materialTapTargetSize to the OutlineButton Constructor (#61086) 2020-07-09 14:56:01 -07:00
Kate Lovett
e3079a3339
Add additional float location case (#61171) 2020-07-09 14:06:03 -07:00
remin
c65f32f447
Add ThemeData.shadowColor (#60337) 2020-07-09 13:46:04 -07:00
Hans Muller
dc31d89c56
New Button Universe (#59702) 2020-07-09 13:41:03 -07:00
Kate Lovett
ea777fea1b
Skip Audit - Rendering Library (#58640) 2020-07-09 13:36:03 -07:00
Dan Field
a9ea825abf
Do not cache itemBuilder calls in a GridView (#61033) 2020-07-08 21:26:03 -07:00
LongCatIsLooong
a6ce2d4bc7
Assert valid composing TextRange (#60956) 2020-07-08 21:21:02 -07:00
Kate Lovett
debb3a5d28
Skip Audit - Widgets Library (#60936) 2020-07-08 19:26:03 -07:00
chunhtai
496ef4f77e
prevents sliver app bar from changing semantics tree when it is not necesaary (#61012) 2020-07-08 18:21:08 -07:00
chunhtai
06b301cdfc
fix semantics to only send relevant node update (#60925) 2020-07-08 18:21:04 -07:00