6977 Commits

Author SHA1 Message Date
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
Michael Goderbauer
b5a4d08962
Intrinsic Width fixes for RenderParagraph (#70236) 2020-11-12 10:19:03 -08:00
Zachary Anderson
3fce16c329
Revert "Default Keyboard ScrollActions with PrimaryScrollController (#69795)" (#70391)
This reverts commit 1f0df54553bab852026a2801ce3921a2ba493fab.
2020-11-12 09:49:12 -08:00
J-P Nurmi
153f3d23c3
Fix Editable(Text) shortcuts to respect read-only on desktop (#69891) 2020-11-11 15:34:05 -08:00
Kate Lovett
1f0df54553
Default Keyboard ScrollActions with PrimaryScrollController (#69795) 2020-11-11 15:29:05 -08:00
Omar Emara
273efff072
Correct GtkKeyHelper key codes for the Meta key (#69576) 2020-11-11 15:24:04 -08:00
Sanjoli Goyal
5b19328ff0
Update ReorderableListView API docs (#69650)
* Update ReorderableListView API docs

* fixed dart fmt

* added dartpad instead of code sample

* fixed parenthesis error

* Update packages/flutter/lib/src/material/reorderable_list.dart

Co-authored-by: Amit Patil <54329870+Amitpatil215@users.noreply.github.com>

* using reference List.generate instead of generate

* request changes are complete

* space eroors are fixed

* Update ReorderableListView API docs

* fixed dart fmt

* added dartpad instead of code sample

* fixed parenthesis error

* using reference List.generate instead of generate

* Update packages/flutter/lib/src/material/reorderable_list.dart

Co-authored-by: Amit Patil <54329870+Amitpatil215@users.noreply.github.com>

* request changes are complete

* space eroors are fixed

* request changes are completes

Co-authored-by: Amit Patil <54329870+Amitpatil215@users.noreply.github.com>
Co-authored-by: John Ryan <ryjohn@google.com>
2020-11-11 11:28:57 -08:00
Harsh Mehta
600c99213a
AdoptAWidget: Stepper (#70092)
* interactive dartpad sample added

* cleaner code

* removed extra spaces

* minor spaces added

* removed null returns
2020-11-11 10:03:06 -08:00
Chinmay Kabi
6f70a29c36
AdoptAWidget: WillPopScope (#69563)
* Update WillPopScope API Docs

* Update WillPopScope API Docs

* Update WillPopScope API Docs template fix

* Refactoring dartpad sample

* Refactoring dartpad sample

* Remove trailing spaces

* Minor build fix

* Remove space

* Change the dartpad sample and other minor changes

* Change the dartpad example

* Remove trailing character

* refactor code to dart preamble

* adding uncleared variable

* adding uncleared variable

* Implemented requested changes

* Implemented requested changes

* empty commit

* minor changes

Co-authored-by: Chinmay Kabi <chinmaykabi@gmail.com>
2020-11-11 10:01:46 -08:00
MH Johnson
50dc84bc17
[Material] Add support for customizing active + disabled state color for selection controls. (#68831)
* Add new MaterialStateProperty param to selection controls
2020-11-11 12:39:20 -05:00
xster
aac980baac
Update cupertino and material translations (#70157) 2020-11-10 20:56:06 -08:00