6955 Commits

Author SHA1 Message Date
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
Michael Goderbauer
786d0306db
Assert for RenderFlex intrinsics if using baseline alignment (#70139) 2020-11-10 14:29:41 -08:00
Hans Muller
191d0aa4b6
Revert "AppBar draws its defaults from theme.colorScheme (#69251)" (#70212) 2020-11-10 13:54:04 -08:00
Darren Austin
fb63371589
Fix for the ListTile horizontalTitleGap calculation introduced with PR #64222. (#70149) 2020-11-09 18:13:07 -08:00
Greg Spencer
bbc0161669
Remove references to Window, and switch usages to PlatformDispatcher or SingletonFlutterWindow (#69617)
* Remove references to dart:ui.Window, and point usages to PlatformDispatcher or SingletonFlutterWindow, as appropriate

* remove new test platform dispatchers

* Amend documentation
2020-11-09 15:26:29 -08:00
redsolver
3b7718c27d
AdoptAWidget: Table (#69488) (#69588)
* Added Dartpad sample for Table widget

* Changed template to stateless_widget_scaffold

* Removed trailing character
2020-11-09 15:20:42 -08:00
Kate Lovett
31c0291af4
Remove old todo (#70131) 2020-11-09 14:44:04 -08:00
xubaolin
935185ac45
Fix the PopupMenuButton offset bug (#69383) 2020-11-09 13:54:02 -08:00
chunhtai
0bc0cc6192
Fix crash when widgetspan does not produce a semantics node in render… (#69919)
* Fix crash when widgetspan does not produce a semantics node in render paragraph

* fix comments

* fixed corner case, added test, refactored semantics widget

* addressing comment
2020-11-09 11:31:56 -08:00
Hans Muller
a8f9d4cebf
AppBar draws its defaults from theme.colorScheme (#69251) 2020-11-09 10:59:39 -08:00
Hans Muller
a35aa3fdeb
Add new ListTile parameters to ListTileTheme (#69982) 2020-11-06 16:39:02 -08:00
Dan Field
16dce76577
Fix excessive rebuilds of DSS (#69724) 2020-11-06 12:09:02 -08:00
Playhi
8cb2665118
Allow modification of ListTile's horizontalTitleGap, minVerticalPadding, minLeadingWidth (#64222)
Allow modification of ListTile's horizontalTitleGap, minVerticalPadding, minLeadingWidth
2020-11-06 00:02:19 -08:00
Darren Austin
4c1d015e9e
Reland "Updated SearchDelegate to follow custom InputDecorationTheme" (#69653) 2020-11-05 23:54:01 -08:00
Tong Mu
e1712ccefc
Reland: Fix a multiple pointers bug
This relands #68587
2020-11-05 18:38:15 -08:00
LongCatIsLooong
24c6266230
Adaptive constructor / TextInputAction docs (#69346) 2020-11-05 10:49:03 -08:00
Yegor
496efca12f
choose higher-res images on low-DPR screens (#69799) 2020-11-05 10:10:53 -08:00
Chinmoy
0afea99b26
added enableFeedback property to ListTile (#69088) 2020-11-05 08:43:02 -08:00
Lazy Llama
300e1df737
Reduce refresh indicator pull-down distance and update related tests (#69783)
Co-authored-by: altherat <contact@altherat.com>
2020-11-05 12:34:10 +08:00
Arpan Patel
52b4f725f7
AdoptAWidget: Shortcut (#69568)
* Added Interactive Sample
2020-11-05 08:21:02 +08:00
LongCatIsLooong
319722997c
fix typo in computeMaxIntrinsicWidth implementation (#69812) 2020-11-04 16:19:04 -08:00
LongCatIsLooong
b26970b143
Cancel drag or hold when scrolling is disabled. (#69732) 2020-11-04 16:14:04 -08:00
chunhtai
6688e63f68
Improve backbuttondispatcher (#68735)
* Improve backbuttondispatcher

* update

* update

* fix analyzer

* addressing comments

* make takeprioirty recursive by default

* fix comment

* addressing comment
2020-11-04 16:00:28 -08:00