6889 Commits

Author SHA1 Message Date
Justin McCandless
a4d570f0dd
SelectableText handles after Select All (#62072) 2020-07-29 08:26:05 -07:00
Rami
0a69e810b1
[Material] Add support for high contrast theming to Material apps (#62337) 2020-07-29 08:06:06 -07:00
Michael Goderbauer
ddb6d9d913
Revert "Revert "Export Material curves in the Material lib (#62421)" (#62431)" (#62435) 2020-07-28 19:56:03 -07:00
Michael Goderbauer
81087ef2b6
Fix "unresolved doc reference" in widgets layer - part 1 (#62452) 2020-07-28 19:55:16 -07:00
Michael Goderbauer
f4e10b4fb5
Make dartdoc warnings fatal (& cleanup of warnings) (#62367) 2020-07-28 16:11:04 -07:00
Michael Goderbauer
e17a721951
Ban unresolved dartdoc directives from HTML output (#62167) 2020-07-28 15:26:33 -07:00
Rustem Kakimov
0beda0e7fc
Fix typos in implicit_animations.dart (#62287) 2020-07-28 15:16:11 -07:00
Michael Goderbauer
fe05cfbe6c
Fix "unresolved doc reference" in rendering layer (#62443) 2020-07-28 15:13:55 -07:00
Rami
064a9e5783
Ensure banner reads banner theme's leading padding property (#62195) 2020-07-28 15:11:09 -07:00
Alexandre Ardhuin
00dcd5f49b
migrate gestures to nullsafety (#62157) 2020-07-28 15:11:05 -07:00
Michael Goderbauer
1d5a9ae215
Update the FlutterLogo colors and gradients (#62052) 2020-07-28 15:06:04 -07:00
Jonah Williams
1b37da4f92
Revert "Export Material curves in the Material lib (#62421)" (#62431)
This reverts commit 80237ef8d66d2ee0988c754f7686a290a7dfa3d5.
2020-07-28 11:54:01 -07:00
Pragya
c867a1ed23
Updated 'CustomClipper.shouldReclip' doc (#62101) 2020-07-28 10:51:06 -07:00
Darren Austin
c14e328c26
Updated references to the old button classes to the new ones in comments and documentation for classes in the widgets, services and rendering libraries. (#62099) 2020-07-28 10:46:10 -07:00
Hans Muller
aa771d509b
Replace mistaken dartdoc [Foo..bar] references with [Foo.bar] (#62338) 2020-07-28 10:44:41 -07:00
Darren Austin
c1e7176d24
Updated references to the old button classes to the new ones in comments and documentation for classes in the material library. (#62092) 2020-07-28 10:41:06 -07:00
Darren Austin
76c7ca5433
Updated the About dialog to use the new button API. (#62075) 2020-07-28 10:36:19 -07:00
Kate Lovett
9bf1793a10
Fix crossSize for baseline (#62074) 2020-07-28 10:36:15 -07:00
Todd Volkert
80237ef8d6
Export Material curves in the Material lib (#62421)
(split out from https://github.com/flutter/flutter/pull/62317)
2020-07-28 10:35:51 -07:00
Todd Volkert
ca717c25be
Fix some broken doc references (#62317)
https://github.com/flutter/flutter/issues/31931
2020-07-28 10:34:59 -07:00
Remi Rousselet
50b7940b30
Update the documentation of GlobalKey to explain why it is expensive (#62083) 2020-07-28 10:26:14 -07:00
chunhtai
b2c737547f
makes PopupMenuitem merge the semantics of its child (#62062) 2020-07-28 10:26:10 -07:00
LongCatIsLooong
fe88a88a5a
Autofill save (#58731) 2020-07-28 10:23:17 -07:00
songyiYu
0a03d64346
Add LayoutBuilder example (#61948) 2020-07-28 10:21:12 -07:00
Michael Goderbauer
175e5c9aca
Restoration Framework (#60375)
* state restoration

* added example

* typos and analyzer

* whitespace

* more typos

* remove unnecessary import

* whitespace

* fix sample code

* tests for restorationmanager and restorationid

* ++

* typo

* tests for bucket, part1

* rename tests

* more tests

* finished tests for service layer

* remove wrong todo

* ++

* review comments

* tests for Unmanaged and regular scope

* RootRestorationScope tests

* typo

* whitespace

* testing framework

* tests for properties

* last set of tests

* analyzer

* typo

* dan review

* whitespace

* ++

* refactor finalizers

* ++

* ++

* dispose guard

* ++

* ++

* dan review

* add manager assert

* ++

* analyzer

* greg review

* fix typo

* Ian & John review

* ian review

* RestorationID -> String

* revert comment

* Make primitives non-nullable in prep for NNBD
2020-07-28 10:16:36 -07:00
Pragya
1fff10500f
Added expandedHeight in flexibleSpace and flexibleSpaceBar (#61710) 2020-07-28 10:16:13 -07:00
chunhtai
734782f5d7
clean up hero controller scope (#60655) 2020-07-28 10:11:09 -07:00
Daniel Iglesia
0fdb21f31f
Adds an onMove callback on a DragTarget. (#60174) 2020-07-28 09:56:09 -07:00
Todd Volkert
a48446f94b
Fix error handling for errors with empty stack traces (#62224)
Fixes https://github.com/flutter/flutter/issues/62223
2020-07-24 15:50:01 -07:00
Todd Volkert
6e252772d1
Add support for system alert sound (#62086)
* Add SystemSoundType.alert (supported in the engine in flutter/engine#19970)
* Play system alert sound when user tries to dismiss a non-dismissable modal
  barrier
2020-07-24 15:49:41 -07:00
Will Larche
7782845edd
[Material] Updated icons and fonts (#61778) 2020-07-24 15:41:13 -07:00
Pedro Massango
5142a30434
Add minWidth and height parameter into FlatButton widget (#61664) 2020-07-24 15:41:09 -07:00
Kate Lovett
d1411a1626
Remove unused FlutterErrorDetails subclasses (#61579) 2020-07-24 15:36:08 -07:00
chunhtai
561735ad89
Revert "remove usage to applyTextScaleFactorToWidgetSpan (#61636)" (#62144)
This reverts commit c816fabd0af48a861afdeb78bb6ebe4b7cbd3707.
2020-07-23 10:35:21 -07:00
Alexandre Ardhuin
8428cf30eb
Add template flutter.widgets.transitionRoute.reverseTransitionDuration (#62136) 2020-07-23 09:22:20 -07:00
Pedro Massango
f025ca2fc6
Update basic.dart (#61961) 2020-07-23 08:46:04 -07:00
Alexandre Ardhuin
a07219a310
migrate physics to nullsafety (#61941) 2020-07-23 08:41:04 -07:00
Abdur Rafay Saleem
b50b5eadb0
Improved docs for minLines in EditableText (#61796) 2020-07-23 08:36:04 -07:00
LongCatIsLooong
64173f75c3
Check if a double is NaN before converting to it int (#61940) 2020-07-23 08:31:08 -07:00
Michael Goderbauer
8e58c51d1a
Update viewport dimensions when scrollDirection changes (#61973) 2020-07-23 08:30:26 -07:00
Michael Goderbauer
4b4287ba78
Make it an error to break macros in docs (and fix existing broken macros) (#62071) 2020-07-23 08:29:46 -07:00
Greg Spencer
cac22cdb08
Fix ExcludeFocus so it won't refocus a sibling of the focused node. (#61756)
This changes FocusNode.descendantsAreFocusable so that it doesn't allow the enclosing scope to re-focus a node that is a descendant of the node with descendantsAreFocusable set to false.

Because of the order in which the internal state for descendantsAreFocusable was being set, setting it to false was causing a sibling node to be focused when descendantsAreFocusable of the parent was set to false, even though it shouldn't have been focusable, because the enclosing scope would search for a candidate to be focused before the internal state was set to false.

Instead of looping over the children and telling them all to unfocus (and select the previously focused node), this unfocuses the node that has descendantsAreFocusable set to false, with the disposition UnfocusDisposition.previouslyFocusedChild, so that its enclosing scope will look for a previously focused child that isn't part of the subtree being excluded.

This affects how the ExcludeFocus widget behaves when turning on exclude.
2020-07-23 08:27:53 -07:00
Abdur Rafay Saleem
b8df8a8368
Allowed specifying reverseTransitionDuration in PageRouteBuilder class (#61752) 2020-07-22 18:41:09 -07:00
chunhtai
c816fabd0a
remove usage to applyTextScaleFactorToWidgetSpan (#61636) 2020-07-22 18:41:06 -07:00
Greg Spencer
60314646b3
Find the target platform more accurately on the web. (#61587) 2020-07-22 18:36:08 -07:00
Todd Volkert
e91b833933
Minor doc updates (#62008) 2020-07-22 18:28:08 -07:00
Todd Volkert
67a9ae173b
Update Actions.invoke to return the result of invoking the action. (#62012)
The boolean value as to whether the action was found and enabled
is less useful than just returning the result of invoking the action
itself.
2020-07-22 18:27:38 -07:00
Pierre-Louis
629395f7ad
Add per thumb Range Slider semantics (#61439) 2020-07-22 18:26:11 -07:00
David Martos
6d303af97e
Use the correct Transform in the WidgetInspector overlay (#59566) (#60990) 2020-07-22 18:26:07 -07:00
chunhtai
c44e5a32b5
Revert "InkDecoration do not paint if it's part of the tree doesn't get painted (#61216)" (#61963)
This reverts commit fdf87edd2fadb3ba3219d23792f0210384533e1b.
2020-07-21 09:35:40 -07:00