Justin McCandless
d9f3d2e846
Cupertino text selection menu customization ( #73578 )
...
* Making a custom iOS-style text selection menu is now much easier.
* Exposes a new widget for the toolbar, a new widget for the buttons, and a new widget for the layout.
2021-01-13 11:14:14 -08:00
Robert Ancell
c65304bbf1
Map Linux AltGr to right alt. It was currently being ignored. ( #73373 )
...
Fixes https://github.com/flutter/flutter/issues/68713
2021-01-13 14:31:22 +13:00
Jia Hao
8a5ace25a5
Improve performance of Widget Tests ( #70730 )
2021-01-12 17:29:03 -08:00
xubaolin
492ec23b34
Re-enable a ensureVisible test case ( #73545 )
2021-01-12 17:19:03 -08:00
Kate Lovett
09008e6f71
Add ScrollbarTheme/ScrollbarThemeData ( #72308 )
2021-01-12 17:14:04 -08:00
Devon Carew
3219d0e2ec
add a readme for the dart fix tests ( #73761 )
...
add a readme for the dart fix tests
2021-01-12 15:13:23 -08:00
Sam Rawlins
737ceb04f8
Remove "unnecessary" imports. ( #73486 )
2021-01-12 11:09:03 -08:00
Sam Rawlins
27f6ccf435
Remove "unnecessary" imports from flutter/src/gestures ( #73389 )
2021-01-12 11:04:05 -08:00
xubaolin
32dc1b7d00
Add [pointerCount] property to Scale Gesture Details ( #73474 )
2021-01-11 19:14:04 -08:00
Devon Carew
e143ac2d85
increase the value of debugImageOverheadAllowance from 104 bytes to 128kb ( #73720 )
2021-01-11 16:34:27 -08:00
Pedro Massango
0b5905070c
Fix "RefreshIndicator.color didn't update at runtime" ( #73566 )
...
* update dependencies when widget configuration changes
2021-01-11 12:57:40 -08:00
Renzo Olivares
59783d0fe1
Selecting spaces on SelectableText (mobile) ( #73300 )
2021-01-11 11:24:03 -08:00
Hans Muller
6f002abcd7
Revert "Prevent text from overflowing in OutlineButton and OutlinedButton label. ( #70872 )" ( #73715 )
2021-01-11 10:19:04 -08:00
Hans Muller
9a43df5142
Deprecated obsolete Material classes: FlatButton, RaisedButton, OutlineButton ( #73352 )
2021-01-08 15:44:47 -08:00
Michael Goderbauer
535392bfd5
added tests, removed API ( #69620 )
2021-01-08 15:44:08 -08:00
Michael Goderbauer
24d434d156
Revert "Revert "Fix _LateInitializationError for RenderObjectElement.renderObject ( #70974 )" ( #73575 )" ( #73580 )
2021-01-08 12:49:04 -08:00
Alabhya
12f426f317
[Api docs]Added dartpad demo for Bottom App Bar ( #73044 )
2021-01-08 11:20:35 -08:00
Michael Goderbauer
edfb6305d8
Revert "Fix _LateInitializationError for RenderObjectElement.renderObject ( #70974 )" ( #73575 )
...
This reverts commit c243d834ce41bc5d279b0264efbc6b3c9e0df53d.
2021-01-08 10:24:10 -08:00
Michael Goderbauer
c243d834ce
Fix _LateInitializationError for RenderObjectElement.renderObject ( #70974 )
2021-01-08 09:35:10 -08:00
Pierre-Louis
1bd89a9617
Revert "Add material icons golden test ( #73361 )" ( #73521 )
...
This reverts commit d3a2db22e79cd26869e51c2ed5c634e091aab608.
2021-01-07 18:58:12 -08:00
Shi-Hao Hong
f6a499135b
[State Restoration] Scaffold.drawer and Scaffold.endDrawer ( #72788 )
2021-01-07 16:29:03 -08:00
Michael Goderbauer
5d1306e7ab
Update outdated links ( #73514 )
2021-01-07 16:28:12 -08:00
Kate Lovett
f461f1c9c8
Remove deprecated WidgetsBinding.[deferFirstFrameReport, allowFirstFrameReport] ( #72893 )
2021-01-07 16:09:04 -08:00
Ian Hickson
544a41eb55
Remove an obsolete comment from pubspec.yaml ( #73505 )
2021-01-07 15:59:04 -08:00
Michael Goderbauer
918100f8e8
Migrate missed sample code to NNBD ( #73509 )
2021-01-07 15:44:13 -08:00
Pierre-Louis
d3a2db22e7
Add material icons golden test ( #73361 )
...
* 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
2021-01-07 21:59:37 +01:00
Oscar Robles
71c6f1b9f0
AdoptAWidget - Update ActionListener with an example ( #69717 )
...
Adds an example to the docs for ActionListener.
2021-01-07 12:40:35 -08:00
Justin McCandless
c6aa20d4b7
Revert "Add BuildContext parameter to TextEditingController.buildTextSpan ( #72344 )" ( #73503 )
...
This reverts commit 4901744e62f67ad10440725d2c97e84e66ce77f5, which was a minor breaking change that I missed. Will try to open the PR again following the breaking change process.
2021-01-07 12:34:03 -08:00
Justin McCandless
fc27828c87
Work around the crash by preventing deletes on -1,-1 selection ( #73417 )
2021-01-07 10:44:02 -08:00
Nathan Walker
b65a235139
SliverAppBar with ShrinkWrap Patch ( #73195 )
2021-01-07 10:39:02 -08:00
David LJ
84ddffb36b
fix(cupertinoDatePicker): do not display previous day when minimumDate is midnight ( #72933 )
2021-01-07 10:34:03 -08:00
Kate Lovett
925ff2dcb1
Remove deprecated StatefulElement.inheritFromElement ( #72901 )
2021-01-07 10:29:04 -08:00
Ian Hickson
e2439ea708
Remove an obsolete (and now incorrect) comment in the pubspec.yaml ( #72641 )
2021-01-06 17:04:03 -08:00
Ian Hickson
fdab8546a0
Minor doc, style, and perf updates to Navigator/Routes ( #71689 )
...
* Minor doc, style, and perf updates to Navigator/Routes
These are minor fixes I ended up making while working on a larger
project that never went anywhere.
- Used a ColoredBox instead of a DecoratedBox for ModalBarrier
(probably a trivial memory/perf win).
- A bunch of Navigator documentation fixes around when things rebuild.
- Mark routes dirty when the Navigator has a dependency change. I
cannot find a way to test this because as far as I can tell it makes
no actual difference to when things rebuild because whenever the
Navigator rebuilds the Overlay rebuilds and whenever that happens
every OverlayEntry rebuilds, but in theory that's not guaranteed so
this is sort of a correctness fix. It may even be a perf loss. We do
something similar in didUpdateWidget already. I could be convinced
to maybe remove these...
- Make ModalRoute.filter public like everything else.
- Made ModalRoute update its barrier when it gets an update, in case
e.g. the modal barrier depends on inherited widgets via the
navigator context. Again, not sure of any way to detect this, it
might actually be moot, but it seems to be the technically correct
solution?
- Minor style fixes.
All in all I couldn't figure out a way to test any of this (I wrote
multiple large tests but it turns out they all already pass on master
and are effectively redundant with existing tests).
* Remove extraneous blank line
2021-01-06 16:15:05 -08:00
Sam Rawlins
1420d956b1
Remove "unnecessary" imports. ( #73368 )
2021-01-06 15:44:03 -08:00
chunhtai
8f07fccee8
app bar leading back button should not change if the route is popped ( #71944 )
2021-01-06 10:59:04 -08:00
chunhtai
89acdb030c
fix dropdown menu to position based on nearest navigator ( #73381 )
2021-01-06 10:39:02 -08:00
Chinmoy
7a0e3a309f
Prevent text from overflowing in OutlineButton and OutlinedButton label. ( #70872 )
2021-01-06 10:16:12 -08:00
Justin McCandless
29d33cc38e
Autocomplete Split UI ( #72553 )
...
Allows passing in a TextEditingController and FocusNode to RawAutocomplete, which enables split UIs where the TextField is in another part of the tree from the results.
2021-01-06 09:04:46 -08:00
YeungKC
35af0d7b1b
Fix dateAndTime and time modes of CupertinoDatePicker. ( #73276 )
2021-01-06 08:19:04 -08:00
Shi-Hao Hong
e8cf674082
[NNBD] Migrate sample code ( #72938 )
2021-01-06 08:26:53 +08:00
Jia Hao
47bad77287
Support flutter_test_config for flutter test on web platforms ( #72488 )
2021-01-05 15:49:02 -08:00
Jesse
4901744e62
Add BuildContext parameter to TextEditingController.buildTextSpan ( #72344 )
2021-01-05 14:04:06 -08:00
Kate Lovett
3fd3447f96
Add PrioritizedIntents to support multiple shortcut configurations ( #72560 )
2021-01-05 16:02:44 -06:00
Sam Rawlins
542084d088
Remove "unnecessary" imports. ( #73340 )
2021-01-05 12:44:03 -08:00
Sam Rawlins
81cc99c8d2
Remove "unnecessary" imports. ( #73344 )
2021-01-05 12:24:03 -08:00
chunhtai
5113c50a36
improve error message for navigator page api ( #73153 )
2021-01-05 10:54:04 -08:00
Amit Patil
119e0ea149
circleAvatar: foreground Image uses background Image as a fall-back ( #71783 )
...
* foregroundImage property added
* fixed documentaion nits
* test for fallback to background image on foreground image failover
* golden test
2021-01-05 10:29:10 -08:00
Pierre-Louis
47e3e75b07
Improve Cupertino docs ( #72927 )
...
* Add 'See also' to cupertino library
* Add snippets to CupertinoApp
* Add CupertinoPageScaffold samples
* Revert "Add CupertinoPageScaffold samples"
This reverts commit 01b0adf351f0320af7835551102d62e3416f0eab.
* Revert "Revert "Add CupertinoPageScaffold samples""
This reverts commit 0af506237a16f7fec5f3744a9bd015a511a15f72.
* Add CupertinoNavigationBar sample
* Tweak CupertinoPageScaffold sample
* Don't use Material in cupertino samples
* Fix colors
* Fix capitalization
Co-authored-by: Shi-Hao Hong <shihaohong@google.com>
* Apply suggestions from code review
Co-authored-by: Shi-Hao Hong <shihaohong@google.com>
* Add comment about backgroundColor
Co-authored-by: Shi-Hao Hong <shihaohong@google.com>
2021-01-04 23:09:02 +01:00
Chinmoy
c53058d8ed
Fixed typo in icon theme ( #73247 )
2021-01-04 08:24:02 -08:00