Justin McCandless
6c70a8fef6
Fix right alignment TWB longestLine ( #54234 )
...
Fixes an alignment bug seen when using both TextWidthBasis.longestLine and TextAlign.right.
2020-04-17 08:07:27 -07:00
Masayuki Ono
16cc2f3288
Fix showCupertinoModalPopup documentation comment typo ( #52995 )
2020-04-16 16:50:01 -07:00
Shi-Hao Hong
6ce90a936f
SnackBarBehavior.floating offset fix by default ( #54985 )
2020-04-16 14:50:01 -07:00
Darren Austin
53bda97c71
Expose current day as a parameter to showDatePicker. ( #54978 )
2020-04-16 14:45:01 -07:00
chunhtai
baafc66817
Enable gesture recognizer in selectable rich text ( #54479 )
2020-04-16 10:05:02 -07:00
Anthony
b00b4e8342
[Material] Add focus, highlight, and keyboard shortcuts to Slider ( #53945 )
2020-04-16 08:50:01 -07:00
Jacob MacDonald
6399be62d2
remove flutter_test quiver dep, use fake_async and clock instead ( #54125 )
...
## Description
Removes the `flutter_test` dependency on `quiver`, instead using the more targeted `clock` and `fake_async` packages.
## Related Issues
https://github.com/flutter/flutter/issues/53908
## Tests
No changes to tests
## Checklist
Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes (`[x]`). This will ensure a smooth and quick review process.
- [x] I read the [Contributor Guide] and followed the process outlined there for submitting PRs.
- [x] I signed the [CLA].
- [x] I read and followed the [Flutter Style Guide], including [Features we expect every widget to implement].
- [x] I read the [Tree Hygiene] wiki page, which explains my responsibilities.
- [x] I updated/added relevant documentation (doc comments with `///`).
- [x] All existing and new tests are passing.
- [x] The analyzer (`flutter analyze --flutter-repo`) does not report any problems on my PR.
- [x] I am willing to follow-up on review comments in a timely manner.
## Breaking Change
Did any tests fail when you ran them? Please read [Handling breaking changes].
- [ ] No, no existing tests failed, so this is *not* a breaking change.
- [x] Yes, this is a breaking change. *If not, delete the remainder of this section.*
- [x] I wrote a design doc: https://docs.google.com/document/d/1EkkLbECNBwHgddBQAZqEy7iQLTIxR1rgChKzxcLwhio/edit
- [x] I got input from the developer relations team, specifically from: @RedBrogdon
- [x] I wrote a migration guide: https://github.com/flutter/website/pull/3932
<!-- Links -->
[issue database]: https://github.com/flutter/flutter/issues
[Contributor Guide]: https://github.com/flutter/flutter/wiki/Tree-hygiene#overview
[Test Coverage]: https://github.com/flutter/flutter/wiki/Test-coverage-for-package%3Aflutter
[Flutter Style Guide]: https://github.com/flutter/flutter/wiki/Style-guide-for-Flutter-repo
[Features we expect every widget to implement]: https://github.com/flutter/flutter/wiki/Style-guide-for-Flutter-repo#features-we-expect-every-widget-to-implement
[CLA]: https://cla.developers.google.com/
[Tree Hygiene]: https://github.com/flutter/flutter/wiki/Tree-hygiene
[Handling breaking changes]: https://github.com/flutter/flutter/wiki/Tree-hygiene#handling-breaking-changes
2020-04-15 12:10:26 -07:00
tauu
846e8fe812
force upgraded package dependencies ( #54787 )
...
Co-authored-by: Georg Wechslberger <wechslbe@ma.tum.de>
2020-04-14 18:21:14 -07:00
Mehmet Fidanboylu
6a983e7341
Revert "Reland "Add API to services package that overrides HTTP ban ( #54243 )" ( #54522 )" ( #54779 )
...
This reverts commit d1e052815ea1448dcf98ebdc805e89503b3f3c8f.
2020-04-14 14:07:43 -07:00
Justin McCandless
f646e26e90
iOS Text Selection Menu Overflow ( #54140 )
...
Adds the ability for the iOS text selection menu to handle items that are too wide for the screen.
2020-04-14 09:49:16 -07:00
Hans Muller
650592b3ef
Updated Nested SingleChildScrollView test for clarity ( #54670 )
2020-04-13 12:50:01 -07:00
Darren Austin
ff2358623b
Allow WIllPopCallback to return null or false to veto the pop. ( #54640 )
2020-04-13 12:35:03 -07:00
Mehmet Fidanboylu
d1e052815e
Reland "Add API to services package that overrides HTTP ban ( #54243 )" ( #54522 )
2020-04-13 12:30:02 -07:00
Mehmet Fidanboylu
35ed1ccc9a
Revert "Add API to services package that overrides HTTP ban ( #54243 )" ( #54519 )
...
This reverts commit 9eb2a2ad6a59d47bcd53c6b8414b4d540d198892.
2020-04-10 22:18:30 -07:00
Mehmet Fidanboylu
9eb2a2ad6a
Add API to services package that overrides HTTP ban ( #54243 )
2020-04-10 22:14:42 -07:00
Gary Qian
59b2c5a39e
Add null check in TextStyle.apply for TextBaseline ( #54442 )
2020-04-10 16:50:02 -07:00
Alexandre Ardhuin
7ceed97302
replace simple empty Container with w & h with SizedBox ( #54394 )
...
* replace simple Container(w & h) with SizedBox
* address review comments
* address review comments
2020-04-10 22:32:40 +02:00
Gary Qian
bb02f40ca8
Remove strict repeat check from framework formatter (moved to engine) ( #53974 )
2020-04-10 13:26:12 -07:00
Greg Spencer
c7b10df765
Fix initial value for highlight mode on desktop platforms. ( #54306 )
...
This fixes the initial value of FocusManager.highlightMode so that it gets initialized correctly on desktop platforms.
My recent update of this code (#52990 ) broke things so that the highlight mode never changed from the initial default of touch, which meant that focus highlights didn't show unless you set FocusManager.highlightStrategy to something (even automatic, the default: setting it caused the mode to be updated).
2020-04-10 13:23:55 -07:00
Michael Goderbauer
6c048301a6
Revert "WIP2" ( #54286 )
2020-04-10 12:25:02 -07:00
William Oprandi
756a1f0301
Pass showCheckboxColumn parameter to DataTable ( #53655 )
2020-04-10 10:39:47 -07:00
Greg Spencer
d64955ab49
Add visualDensity and focus support to ListTile ( #53888 )
2020-04-10 10:20:02 -07:00
Jacob MacDonald
efdce3cf72
drop image package dependency for goldens ( #54144 )
2020-04-09 11:21:23 -07:00
liyuqian
b475eaf8ba
Set AA flag for painting images ( #51656 )
2020-04-08 19:02:04 -07:00
Filip Hracek
1593788cd9
Rename GPU thread to raster thread in API docs ( #53422 )
2020-04-08 18:57:03 -07:00
Jason Simmons
173c93d9a2
Minimal implementation of FlutterError.toString for release mode ( #54291 )
2020-04-08 18:52:02 -07:00
Kate Lovett
49f3e1acbb
PageStorage sample ( #54317 )
2020-04-08 18:47:01 -07:00
Gary Qian
19ff596979
Add missing properties to TextStyle.apply ( #54305 )
2020-04-08 15:42:02 -07:00
Kate Lovett
bcc7961d00
Skip Audits (2) ( #53837 )
2020-04-08 12:37:03 -07:00
Francisco Magdaleno
a0f7f6ca6d
[windows] Adds support for keyboard mapping. ( #54227 )
2020-04-08 10:07:02 -07:00
Michael Goderbauer
d47ad7ec0d
Reverse dependency between services and scheduler ( #54212 )
2020-04-08 09:12:03 -07:00
Greg Spencer
0f68b46f6a
Revise Action API ( #42940 )
...
This updates the Action API in accordance with the design doc for the changes: flutter.dev/go/actions-and-shortcuts-design-revision
Fixes #53276
2020-04-07 16:49:39 -07:00
EricEnslen
cccfe96e72
Allow ListTiles to be autofocused ( #54229 )
...
Adds an "autofocus" param to ListTile and its Checkbox, Radio and Switch variants, and passes the given value through to the wrapped InkWell, Switch, etc.
This is important for scenarios like a settings screen, where the first interactable element on a page may be a SwitchListTile, for example.
2020-04-07 15:39:44 -07:00
Jose Alba
3441d6cbe7
Slider rebase work ( #53916 )
...
* [Slider] Rebase.
* disabled thumb color with alphaBlend of colorScheme surface
* test remove alphablend
* Change rectangular track to how it used to be
* Chaned to adaptive slider
* blank lines
Co-authored-by: Will Larche <larche@google.com>
2020-04-07 17:10:18 -04:00
Michael Thomsen
98e7791ec9
Roll pinned xml and petitparser versions ( #54181 )
2020-04-07 12:16:03 -07:00
LongCatIsLooong
4af5fe2c37
Reland "iOS UITextInput autocorrection prompt ( #45354 )" ( #54119 )
2020-04-07 12:11:14 -07:00
Alexandre Ardhuin
f5a9902577
enable avoid_equals_and_hash_code_on_mutable_classes ( #52507 )
2020-04-06 13:36:01 -07:00
Darren Austin
d35ade4a6c
Added 'barrierColor' and 'useSafeArea' parameters to showDialog. ( #54110 )
2020-04-06 11:26:01 -07:00
Greg Spencer
a2e6c30b44
Update Highlight mode initial value calculation. ( #52990 )
2020-04-03 20:26:01 -07:00
Dan Field
14f3a36aba
Clear ImageCache on MemoryPressure ( #53959 )
2020-04-03 17:06:01 -07:00
Dan Field
30738982b4
Remove network images from cache on any exception during loading ( #53875 )
...
* Remove network images from cache on any exception during loading
2020-04-03 16:05:43 -07:00
Ferhat
b336452cde
Fix diagnostics crash in profile mode ( #53878 )
...
* Prevent diagnostics crash in profile mode
* Prevent diagnostics crash in profile mode
2020-04-03 10:28:00 -07:00
Greg Spencer
a8b3d1b74f
Add toggleable attribute to Radio ( #53846 )
...
This adds a new toggleable attribute to the Radio widget. This allows a radio group to be set back to an indeterminate state if the selected radio button is selected again.
Fixes #53791
2020-04-02 15:40:37 -07:00
Ferhat
c3ec1caac2
Replace isInstanceOf<T> uses with isA<T> ( #53834 )
...
* Replace isInstanceOf<T> uses with isA<T>
* Update isInstanceOf in flutter tools
2020-04-02 10:57:07 -07:00
Ferhat
40aea47992
[web] Unskip assertions test. Update for latest stack trace format. ( #53795 )
2020-04-02 10:46:01 -07:00
Michel Feinstein
1c8b81fae1
Fixed the "touch target size" broken docs link. ( #53793 )
2020-04-02 10:41:02 -07:00
Greg Spencer
e20080b5d1
Add LICENSE file to packages/flutter, add test to make sure it… ( #53799 )
...
This adds a LICENSE file to the packages/flutter directory so that it can be found when building, and a test to make sure it exists in produced binaries.
2020-04-02 10:38:25 -07:00
impure
191f86ea05
Added ability to change dropdown colour manually ( #52982 )
2020-04-02 10:21:04 -07:00
chunhtai
a206bf7e2f
Reland "Implements the navigator page api ( #50362 )" ( #53708 )
...
This reverts commit aee9e94c21009bfc6c08f442eacde06f001c25f9.
2020-04-01 09:44:22 -07:00
Marc Plano-Lesay
a1f6c173ba
Fix a typo ( #53699 )
2020-04-01 09:19:54 -07:00