7508 Commits

Author SHA1 Message Date
xubaolin
2b85eeed14
Let SnackBar inherit themeData from its ancestor (#70080) 2020-12-01 09:48:10 -08:00
Justin McCandless
3217906efb
Handle setting TextEditingController text to null (#68638) 2020-12-01 09:48:07 -08:00
Bikram Pandit
dc432d78db
Add detection of drawer open and close in Scaffold widget as a callback method. (#67249) 2020-12-01 09:43:06 -08:00
Pierre-Louis
a7f5fd5360
Update documentation link (#71401) 2020-11-30 13:14:13 +01:00
Pierre-Louis
183f0e797a
Update FAB elevation to match spec (#69312)
* Update floating_action_button.dart

* Fix default hover elevation

* revert letter spacing change

* add test

* Update floating_action_button.dart

* Update floating_action_button_test.dart
2020-11-26 19:12:28 +01:00
Juyeong Lee
9806865b49
Add dartpad sample for AnimatedPadding (#71050) 2020-11-25 13:43:05 -08:00
Andrey Kabylin
e118e1a623
fix #24469 and #67354 (#69668) 2020-11-25 09:28:03 -08:00
Christopher Fujino
96d330a204
Revert "Revert "Implement dryLayout for RenderAnimatedSize (#71097)" (#71180)" (#71185)
This reverts commit 358f9b0ee66b93d72f6d3e1b809b0e30611d40d7.
2020-11-24 16:29:39 -08:00
Christopher Fujino
358f9b0ee6
Revert "Implement dryLayout for RenderAnimatedSize (#71097)" (#71180)
This reverts commit b18f1b81fe09a1f2bea39eaac9cc709e1ac600cf.
2020-11-24 15:46:58 -08:00
Michael Goderbauer
b18f1b81fe
Implement dryLayout for RenderAnimatedSize (#71097) 2020-11-24 12:28:04 -08:00
Hans Muller
89a7bf7791
Remove private OutlinedButton default outline geometry class (#70975) 2020-11-23 14:03:47 -08:00
Darren Austin
8737472af1
Exposed the YearPicker as a public API again to match the previous API. (#71061) 2020-11-23 12:18:18 -08:00
Yazeed AlKhalaf
bcdee0ac74
🚀 AdoptAWidget: IgnorePointer (#70185)
*  Add IgnorePointer Widget dartpad

* 🐛 Fix grammatical issues in docs of IgnorePointer

*  Remove trailing spaces
2020-11-23 09:45:37 -08:00
Anurag Roy
5fbbd73a76
[FloatingActionButtonLocation] Add diagrams to documentation of FloatingActionButtonLocation (#70184) 2020-11-23 09:43:05 -08:00
GodHyum
20b68c28a2
FloatingActionButton always keeps the same position when FloatingActionButtonLocation is top. (#64746) 2020-11-23 09:38:03 -08:00
Chulwoo Park
de56c6ad72
Remove unnecessary argument from Row and Column constructor comments (#71041) 2020-11-22 12:28:06 -08:00
Per Classon
226532b157
[Material] Add selection control themes (#70311) 2020-11-21 03:08:04 -08:00
Michael Goderbauer
7a3a29e71f
Fixes Intrinsics for RenderParagraph and RenderWrap (#70656) 2020-11-20 17:24:58 -08:00
Kate Lovett
63e328f7f0
Fix pointer scroll for nested NeverScrollables (#70953) 2020-11-20 17:18:04 -08:00
Darren Austin
c5f8edd9ee
Material Date Picker code restructure (#70708)
Date Picker restructuring. Moved files out of 'pickers' and merged several of the non-public implementation files into date_picker.dart.
2020-11-20 15:20:09 -08:00
Ian Hickson
d4b871e1a7
Minor documentation fixes (#70501) 2020-11-20 14:28:03 -08:00
Per Classon
a9b4c1454b
[Material] Decoration for DataTable is not used inside PaginatedDataTable (#70603) 2020-11-20 09:13:05 -08:00
Greg Spencer
de884f1afe
Remove the nullOk parameter from Navigator.of and add Navigator.maybeOf (#70726)
Adds Navigator.maybeOf to replace calling Navigator.of(context, nullOk: true), and removes the nullOk parameter. Also changes Navigator.of to return a non-nullable value, and removes many (120!) instances of the ! operator, reducing the possible places where a null dereference could occur.
2020-11-20 09:10:46 -08:00
Kate Lovett
f4a0511e8b
Re-land 'Default Keyboard ScrollActions with PrimaryScrollController' (#70893) 2020-11-19 17:48:04 -08:00
Juyeong Lee
5819aef435
Update FlexibleSpaceBar dartpad sample (#70382) 2020-11-19 16:43:04 -08:00
Chinmoy
d2f06f6f05
Added enableFeedback property PopupMenuButton (#69890) 2020-11-19 10:13:05 -08:00
Jason Simmons
93fbaf157c
Fix type cast null safety in MethodChannel._invokeMethod (#70809) 2020-11-19 07:33:04 -08:00
Chinmoy
830bdfa301
added none property in a DismissDirection (#68987) 2020-11-18 13:28:03 -08:00
nero
af616a0bca
[Tabs] Fix tab indicator flies off issue (#65463) 2020-11-18 10:13:04 -08:00
Pierre-Louis
2f17d4e017
Adaptive icons (#69119)
* refactor update_icons

* fix trailing space

* address feedback

* add platform adaptive icons

* fix merge conflict

* Update dartdoc

* Address feedback

* Specify types

* Add tests

* fix indentation

* Remove trailing space

* Remove isCupertino static bool
2020-11-18 16:04:38 +01:00
xubaolin
d8167b90e2
Deprecated unused property [RectangularSliderTrackShape.disabledThumbGapWidth] (#65246) 2020-11-17 16:18:34 -08:00
MH Johnson
5df335ad0e
[Material] Add method to get dark mode overlay color without needing BuildContext (#70669) 2020-11-17 16:13:03 -08:00
Aneesh Rao
93828d35ac
AdoptAWidget - Progress indicator (#69498)
* Add examples for LinearProgressIndicator

* Add examples for CircularProgressIndicator

* Change name Linear  -> Circular

* Remove unnecessary changes

* Add images to docs

* Fix semi-colon bugs

* Fix trailing spaces

* Fix more semicolon bugs

* Remove imports in docs

* Remove error causing line breaks

* Add ticker providers

* Add more ticker providers

* Remove assets and combine samples

* Removed 6 samples

* Remove unnecessary animation

Co-authored-by: John Ryan <ryjohn@google.com>

* Remove unnecessary animation

Co-authored-by: John Ryan <ryjohn@google.com>

* Use material theme

Co-authored-by: John Ryan <ryjohn@google.com>

* Apply suggestions from code review

Co-authored-by: John Ryan <ryjohn@google.com>
2020-11-17 10:42:59 -08:00
xubaolin
543d3cfa57
Add a [valid] property of [MouseTrackerAnnotation] indicates the annotation states. (#69866) 2020-11-17 08:03:02 -08:00
Jim Graham
e803b13f01
Revert "Re-land 'Default Keyboard ScrollActions with PrimaryScrollController' (#70401)" (#70675)
This reverts commit 9b56241eef3a81bfe4e1ff72cc453a7693861944.
2020-11-16 22:55:59 -08:00
Greg Spencer
5ddc057636
Remove last references to Window in docs. (#70637)
This removes the last couple of doc references to the Window class in the framework, so that I can re-land the engine side change that removes the Window class (flutter/engine#22505).
2020-11-16 14:52:24 -08:00
Kate Lovett
9b56241eef
Re-land 'Default Keyboard ScrollActions with PrimaryScrollController' (#70401) 2020-11-16 14:47:04 -06:00
Ian Hickson
6cff33832e
More lints (#70500) 2020-11-16 11:07:37 -08:00
IsmailAbdirahman
9a2bf0e70f
AdoptAWidget: NotificationListener (#69524)
* Added notificationListner sample code

* Fixed spacing

* fixed spacing

* Moved the variables into the Build method

* fixed typos

* Update packages/flutter/lib/src/widgets/notification_listener.dart

Co-authored-by: John Ryan <ryjohn@google.com>

* Update packages/flutter/lib/src/widgets/notification_listener.dart

Co-authored-by: John Ryan <ryjohn@google.com>

* Update packages/flutter/lib/src/widgets/notification_listener.dart

Co-authored-by: John Ryan <ryjohn@google.com>

* Update packages/flutter/lib/src/widgets/notification_listener.dart

Co-authored-by: John Ryan <ryjohn@google.com>

* Update packages/flutter/lib/src/widgets/notification_listener.dart

Co-authored-by: John Ryan <ryjohn@google.com>

* Update packages/flutter/lib/src/widgets/notification_listener.dart

Co-authored-by: John Ryan <ryjohn@google.com>

* Update packages/flutter/lib/src/widgets/notification_listener.dart

Co-authored-by: John Ryan <ryjohn@google.com>
2020-11-16 10:30:41 -08:00
Jason Simmons
a56584857f
Ignore text selection boxes when assembling semantics for placeholder runs (#70487) 2020-11-16 10:28:03 -08:00
tiya
adc8a42b38
Add bottom to search bar (#68794) 2020-11-16 12:07:20 -05:00
creativecreatorormaybenot
85f0aea87e
Add stackTrace to AsyncSnapshot (#69507) 2020-11-13 17:13:02 -08:00
Kate Lovett
477a4241ea
Revert "Actually consume top padding in bottomsheet if scrollcontrolled (#66257)" (#70392) 2020-11-13 12:18:03 -08:00
Greg Spencer
b47126df6c
Allow propagation to ancestor actions if actions lower down are disabled (#70404)
Change the semantics of Actions.invoke so that if the action it finds is disabled, then it keeps looking for an ancestor Actions widgets that has a matching intent where the action is not disabled.
2020-11-12 17:15:54 -08:00
Darren Austin
1c7e34bb20
Migrate flutter_localizations to null safety. (#68645)
Migrate flutter_localizations to null safety.
2020-11-12 15:13:51 -08:00
Michael Goderbauer
cca1215939
Properly initialize RestorationManager in the TestBinding (#70398) 2020-11-12 13:59:05 -08:00
Michael Goderbauer
c7f092515c
Fix return type of ContextAction.invoke (#70397) 2020-11-12 13:54:03 -08:00
Todd Volkert
f8d2f58b52
Ignore DismissIntent when barrier is not dismissible (#70156) 2020-11-12 11:45:32 -08:00
Greg Spencer
86f9ab511e
Revert usages of the binding's platformDispatcher to use window instead (#70319)
This reverts usages of the binding's platformDispatcher to use window again temporarily, because there isn't a TestPlatformDispatcher yet, and so some tests were failing because they mocked the TestWindow to return certain things (locales) that were returning the real values instead of the test values.

Once I've created a TestPlatformDispatcher to allow fake data to be passed to it, we can go back to using the platformDispatcher in all of these places
2020-11-12 11:17:00 -08:00
Hans Muller
c6d4a6ef5c
Update OutlinedButton default outline geometry to be backwards compatible (#70393) 2020-11-12 10:36:39 -08:00