Kate Lovett
f461f1c9c8
Remove deprecated WidgetsBinding.[deferFirstFrameReport, allowFirstFrameReport] ( #72893 )
2021-01-07 16:09:04 -08:00
Michael Goderbauer
918100f8e8
Migrate missed sample code to NNBD ( #73509 )
2021-01-07 15:44:13 -08: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
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
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
Shi-Hao Hong
0b6af5aabb
Navigator assert on non restorable routes returned by onGenerateInitialRoutes ( #73082 )
2020-12-31 12:09:02 -08:00
Shi-Hao Hong
efc84ab1ec
Fix type issue with RestorableNumN (and its subclasses) ( #72862 )
...
* Fix type issue with restorableN values
2020-12-31 10:00:55 +08:00
LongCatIsLooong
05a80eb80e
Handle infinite/NaN rects in Hero flights. Less exclamation marks. ( #72946 )
2020-12-30 15:34:04 -08:00
Chinmoy
3bacfedb5c
Removed mouseCursor property from list of not null properties ( #73138 )
2020-12-30 14:49:03 -08:00
Kenzie Schmoll
5b1aa60a46
Enable structured errors by default. ( #72446 )
...
* Enable structured errors by default.
2020-12-29 12:06:41 -08:00
LongCatIsLooong
4220e00fff
Revert "squash commits ( #68166 )" ( #73067 )
2020-12-29 11:39:04 -08:00
xubaolin
337290e66d
fix a RenderSliverFixedExtentBoxAdaptor Exception ( #72922 )
2020-12-29 11:34:02 -08:00
LongCatIsLooong
ce0ec01f64
squash commits ( #68166 )
2020-12-28 12:29:02 -08:00
Mahdi
8f5d0371af
TextField's hintText should support TextDirection. ( #69534 )
...
* TextField's hintText should support TextDirection.
There are many cases for RTL languages that the TextField's label is RTL but the input direction is LTR (e.g. email address). Therefore we may need to change the directionality of the hintText.
* Update input_decorator.dart
* Adds hintTextDirection tests.
* React to reviewer's comments.
* Fixes two more analysis issues.
2020-12-25 23:37:36 -08:00
Todd Volkert
5f46931a8f
Add widget of the week videos ( #72945 )
2020-12-25 17:29:02 -08:00
Todd Volkert
d61d7758ed
Add comment to RenderColoredBox.paint() ( #72526 )
2020-12-24 21:42:25 -08:00
creativecreatorormaybenot
19a835498e
Correct typos in RenderParagraph ( #72930 )
2020-12-24 21:24:03 -08:00
xubaolin
e0417b5e0f
RefreshIndicator should not be shown when overscroll occurs due to inertia ( #72132 )
2020-12-23 18:29:02 -08:00
chunhtai
6f4d84cf97
improve error message when herocontroller is shared by multiple navig… ( #72904 )
2020-12-23 18:04:02 -08:00
Shi-Hao Hong
867698439f
[NNBD] Migrate sample code pt 5 ( #72845 )
2020-12-23 17:44:02 -08:00
Shi-Hao Hong
b21e08c801
[NNBD] Migrate sample code pt 4 ( #72842 )
2020-12-23 17:39:03 -08:00
Shi-Hao Hong
691d05da98
[NNBD] Migrate sample code pt 3 ( #72837 )
2020-12-23 17:34:05 -08:00
Darren Austin
4219dea6e0
Migrated some more widgets doc comments to null safety. ( #72838 )
2020-12-23 17:24:04 -08:00
Kate Lovett
0b02410892
Migrate more sample code to nnbd ( #72829 )
2020-12-23 17:19:04 -08:00
Darren Austin
a6117269c6
Migrated some services and widgets doc comments to null safety. ( #72792 )
2020-12-23 17:14:04 -08:00
Kate Lovett
27f29e75ca
Fix scrollbar config for hover events ( #72833 )
2020-12-23 15:29:02 -08:00
Kate Lovett
3abb9e5008
Remove deprecated showDialog.child ( #72532 )
2020-12-23 15:09:01 -08:00
Michael Goderbauer
5eabfc2447
Allow nullable tweens in TweenAnimationBuilder ( #72476 )
2020-12-23 12:09:02 -08:00
Shi-Hao Hong
ce048ee8e6
[NNBD] Migrate sample code pt 1 ( #72794 )
2020-12-22 17:04:03 -08:00
ahyangnb
501a23ab19
Unprefixes the class with the "new" keyword ( #72772 )
2020-12-22 16:59:04 -08:00
Kate Lovett
6ad6c0f4dc
Migrate some sample code ( #72558 )
2020-12-22 16:54:03 -08:00