3656 Commits

Author SHA1 Message Date
Kate Lovett
ca1dbb949e
Fix stretch recede edge case (#90629) 2021-09-23 15:33:05 -07:00
Casey Rogers
ec2e041e3d
Make DraggableScrollableSheet Reflect Parameter Updates (#90354) 2021-09-22 14:58:05 -07:00
nt4f04uNd
6fabdd049a
Make structuredErrors to not mess up with onError (#88253) 2021-09-22 14:53:04 -07:00
nt4f04uNd
49332da76a
Fix Dismissible confirmDismiss errors (#88672)
* Fix Dismissible confirmDismiss errors

* +

* refactor test

* fix rebase

* remove new line
2021-09-20 13:50:32 -07:00
Casey Rogers
76b3c6758c
Allow Developers to Stop Navigator From Requesting Focus (#90097) 2021-09-20 13:13:03 -07:00
Kate Lovett
d50ec2469f
Fix overflow in stretching overscroll (#90215) 2021-09-20 12:23:05 -07:00
Renzo Olivares
4b330ddbed
Create DeltaTextInputClient (#90205)
* Create DeltaTextInputClient

* Remove old tests as updateEditingValueWithDeltas is no longer implemented

* fix analyzer

* Update docs

* Make example more general

* Update docs

* Add assert to check that TextInputClient is a DeltaTextInputClient

* Update assert

* More docs

* update

* Clean up docs

* updates

* Update docs

* updates

* Fix test

* add test

* updates

* remove logs

* fix tests

* Address reviewer comments

* Add text_input_utils.dart

* Address reviewer comments
2021-09-16 17:29:58 -07:00
Renzo Olivares
bf66cc2e08
Framework can receive TextEditingDeltas from engine (#88477) 2021-09-15 18:27:04 -07:00
Casey Rogers
e7df5ec5d0
Add Snapping Behavior to DraggableScrollableSheet (#84394) 2021-09-15 15:30:35 -05:00
Pierre-Louis
b129fffa23
Add semanticsLabel to SelectableText (#89369)
* add `semanticsLabel` to `SelectableText`

* remove unused vars

* Squashed commit of the following:

commit 3e687a9facfba751667529dd10194403c85e3d2f
Author: engine-flutter-autoroll <engine-flutter-autoroll@skia.org>
Date:   Tue Sep 14 17:42:05 2021 -0400

    Roll Plugins from 4a98e239b131 to b85edebe7134 (2 revisions) (#90083)

commit ad936b4e4b778dde40b6adfea265b5f97f76f62d
Author: Christopher Fujino <christopherfujino@gmail.com>
Date:   Tue Sep 14 14:39:17 2021 -0700

    [flutter_conductor] Support initial stable release version (#89775)

commit ff5dd54c6e2314e358d2e75d9c2c4fe24ed466d7
Author: Ian Hickson <ian@hixie.ch>
Date:   Tue Sep 14 13:02:04 2021 -0700

    Mention the ToS on our README (#89765)

commit 8587b609a6b2cd253c9718c61fdebf89a2039169
Author: Kate Lovett <katelovett@google.com>
Date:   Tue Sep 14 14:53:33 2021 -0500

    Update local gold api (#90072)

commit 7d368dcf0c00b45fef5b02c5cccb8aa5306234ba
Author: Justin McCandless <jmccandless@google.com>
Date:   Tue Sep 14 12:39:19 2021 -0700

    InteractiveViewer with a child of zero size (#90012)

    Asserts that the InteractiveViewer child can't have zero size.

commit 2b4ef184b7217bdc34e5b382398bc9077f748150
Author: Akira Aratani <developer.a.akira@gmail.com>
Date:   Wed Sep 15 03:30:50 2021 +0900

    Fix document of the switch. (#89641)

commit a2cd16ba826cb8708f5b2ded9c99c6aa200551d9
Author: Christopher Fujino <christopherfujino@gmail.com>
Date:   Tue Sep 14 11:22:02 2021 -0700

    use test logger, which does not allow colors (#90010)

commit 0f0613c0aee159ff2089b4ce788744f8cbe46c3a
Author: Varun Sharma <varunsh@stepsecurity.io>
Date:   Tue Sep 14 11:17:03 2021 -0700

    Add specific permissions to .github/workflows/lock.yaml (#89820)

commit 2866f79c89e9540595727481b51c783dc65e8bbe
Author: Jason Simmons <jason-simmons@users.noreply.github.com>
Date:   Tue Sep 14 10:46:35 2021 -0700

    Initialize all bindings before starting the text_editing_action_target test suite (#90067)

    Fixes https://github.com/flutter/flutter/issues/90057

commit b889915997df2ad9f4329b7caba1eee6b2c53b31
Author: Michael Thomsen <mit@google.com>
Date:   Tue Sep 14 14:08:36 2021 +0200

    Change min Dart SDK constraint to track actual version (#88743)

commit 3b7adb989fc59fd6aa906ee642d749b26f1a4b29
Author: godofredoc <54371434+godofredoc@users.noreply.github.com>
Date:   Mon Sep 13 21:32:04 2021 -0700

    Lock only issues. (#90023)

commit 528f77dc99e43f3eb20698cb683c25705725ced0
Author: Dan Field <dnfield@google.com>
Date:   Mon Sep 13 19:10:15 2021 -0700

    Opacity fix (#90017)

    * Make sure Opacity widgets/layers do not drop the offset

commit 2470f63ebba59ebdd9a7127a7c51c22471f3b1d7
Author: engine-flutter-autoroll <engine-flutter-autoroll@skia.org>
Date:   Mon Sep 13 22:07:02 2021 -0400

    4a98e239b [flutter_plugin_tools] Make no unit tests fatal for iOS/macOS (flutter/plugins#4341) (#90016)

commit a01e4733df822f641fb017f3d6d4c56de7427f5d
Author: stuartmorgan <stuartmorgan@google.com>
Date:   Mon Sep 13 20:57:05 2021 -0400

    Re-enable plugin analysis test (#89856)

commit cdad35f2d87f2684d6b651d8db17e938d3570d8a
Author: Aneesh Rao <sidrao2006@gmail.com>
Date:   Tue Sep 14 05:17:04 2021 +0530

    Fix path in example (#84707)

commit 576aab08334e9f7989b32620cdc6b58d31162111
Author: Christopher Fujino <christopherfujino@gmail.com>
Date:   Mon Sep 13 15:47:03 2021 -0700

    add analysis_options.yaml to dev/conductor (#90005)

commit fad5e4cf892bcf65ad3f1cde092cfb9671c3de99
Author: Jason Simmons <jason-simmons@users.noreply.github.com>
Date:   Mon Sep 13 13:37:07 2021 -0700

    Remove a redundant test case in the flutter_tools create_test (#89872)

commit 738430cad787543bd815beb256acf29161771d92
Author: Darren Austin <darrenaustin@google.com>
Date:   Mon Sep 13 13:33:48 2021 -0700

    Revert "Removed default page transitions for desktop and web platforms. (#82596)" (#89997)

    This reverts commit 43e31977

commit 9db9256b38ea33641b7bc02b537501ccde3a9957
Author: Dan Field <dnfield@google.com>
Date:   Mon Sep 13 13:15:19 2021 -0700

    Revert "Make sure Opacity widgets/layers do not drop the offset (#89264)" (#89999)

    This reverts commit 0d0f7a4fb065da5de8640f1d6757cd5b9bc5534b.

commit 00f78cf263066dedaa5cddfccb9e8c4d620abe13
Author: keyonghan <54558023+keyonghan@users.noreply.github.com>
Date:   Mon Sep 13 13:04:01 2021 -0700

    renew cirrus key (#89988)

commit 826da7f82665c37a10dd3281e66dd14a205dc42d
Author: engine-flutter-autoroll <engine-flutter-autoroll@skia.org>
Date:   Mon Sep 13 15:52:03 2021 -0400

    cfc8a20a1 renew cirrus key (flutter/plugins#4340) (#89996)

commit cd112e551c6a49434e30bd375e28144ab739c7a3
Author: Anna Gringauze <annagrin@google.com>
Date:   Mon Sep 13 12:13:42 2021 -0700

    Update all packages (#89797)
2021-09-15 11:51:47 +02:00
Justin McCandless
7d368dcf0c
InteractiveViewer with a child of zero size (#90012)
Asserts that the InteractiveViewer child can't have zero size.
2021-09-14 12:39:19 -07:00
Kate Lovett
4ec75580fb
Revert clamping scroll simulation changes (#89885) 2021-09-10 16:02:02 -07:00
Phil Quitslund
975fcc1f2f
master->main deafult branch migration (#89782) 2021-09-10 15:42:03 -07:00
xubaolin
ba734ed63c
PageView resize from zero-size viewport should not lose state (#65015) 2021-09-09 17:37:04 -07:00
xubaolin
cec1457476
fix a DraggableScrollableSheet bug (#89335) 2021-09-08 17:17:06 -07:00
creativecreatorormaybenot
d4c3c7efcd
Fix (Vertical)Divider samples & docs (#89062) 2021-09-08 15:32:04 -07:00
J-P Nurmi
40b33e238b
Autocomplete: support asynchronous options (#88193) 2021-09-08 15:17:04 -07:00
Anis Alibegić
a753d09cc9
Fixed several typos (#89485) 2021-09-07 14:56:04 -07:00
Justin McCandless
2382b4c046
Text Editing Model Refactor (#86736)
Simplifying and refactoring parts of RenderEditable. Functionality is the same.
2021-09-07 14:12:38 -07:00
LongCatIsLooong
33755f203d
[autofill] opt-out instead of opt-in (#86312) 2021-09-05 13:16:01 -07:00
Kate Lovett
e92f7cd8fe
Update StretchingOverscrollIndicator for reversed scrollables (#89242)
* Update overscroll indicator for reverse

* Review feedback

* Review feedback
2021-09-03 16:29:43 -05:00
Varun Kamani
3bf1bde917
typo fixed in Wrap.debugFillProperties for crossAxisAlignment (#89436) 2021-09-03 10:40:09 -07:00
creativecreatorormaybenot
13885e7d87
Fix text field naming (#89117) 2021-08-31 10:51:02 -07:00
creativecreatorormaybenot
6f065e96ee
Fix Stack references in Overlay docs (#89025) 2021-08-30 14:41:05 -07:00
Ian Hickson
d32ad1f973
Prevent exceptions in _describeRelevantUserCode from hiding other exceptions. (#89073) 2021-08-28 03:36:02 -07:00
Craig Labenz
3a1b04952b
fix: refactor Stepper.controlsBuilder to use ControlsDetails (#88538)
* changed controlsBuilder signature

combined all parameters into ControlsDetails class

* sample fixes

* updates to docstrings

* switched to positional argument for stepper.controlsbuilder

* Merge branch 'master' into stepper-builder-fix
2021-08-27 11:26:29 -07:00
xubaolin
a05b1fffe7
TextField.autofocus should skip the element that never layout (#87109) 2021-08-26 18:11:04 -07:00
Justin McCandless
91ef92d2b2
hasStrings support for eliminating clipboard notifications (#87678)
Use the hasStrings clipboard method when possible instead of reading the contents of the clipboard.
2021-08-26 17:10:18 -07:00
Justin McCandless
b2adffa9fe
Keyboard text selection and wordwrap (#85653)
Keyboard shortcuts near wordwrapped lines could be buggy before this fix.
2021-08-26 17:08:52 -07:00
nt4f04uNd
8863296d66
Add missing parameters to DecorationImage (#88453)
* Add missing parameters to DecorationImage

* tune docs

* fix test
2021-08-26 13:28:49 -07:00
creativecreatorormaybenot
162d914d45
Fix typos and formatting in framework.dart (#88926) 2021-08-26 12:56:02 -07:00
Mohammad Ghalayini
bb278d1da2
[new feature] Add support for a RawScrollbar.shape (#85652) 2021-08-25 17:21:02 -07:00
nt4f04uNd
59f3f23a72
Fix precision error in NestedScrollView (#87801) 2021-08-25 15:46:03 -07:00
Greg Spencer
33403bd28e
Extract Sample code into examples/api (#87280)
This extracts the sample code out from the API doc comments, and places them in separate files on disk, allowing running of the examples locally, testing them, and building of slightly larger examples.
2021-08-25 09:45:12 -07:00
chunhtai
93a1484ae0
Add a hook for scroll position to notify scrolling context when dimen… (#87076) 2021-08-23 15:39:18 -07:00
nt4f04uNd
b5932065fa
Ensure RawImage render object updates (#88369) 2021-08-20 15:03:37 -07:00
Jonah Williams
01d0c53571
partial revert of gesture config (#88534)
Co-authored-by: Zachary Anderson <zanderso@users.noreply.github.com>
2021-08-20 13:43:16 -07:00
chunhtai
89d1b9e4c5
Makes PlatformInformationProvider aware of the browser default route … (#88122) 2021-08-18 13:37:02 -07:00
Michael Goderbauer
922b70dda6
Typo fixes (#88379) 2021-08-17 18:52:05 -07:00
Alexandre Daigle
ddfaec19ad
Fix null check for content dimensions in page getter (#87824) 2021-08-17 15:57:06 -07:00
Dan Field
a4f5a5871a
Avoid retaining routes when subscriptions are cleared (#88310) 2021-08-16 14:47:03 -07:00
Kate Lovett
e761e64983
Add theme support for choosing android overscroll indicator (#88295) 2021-08-16 13:42:02 -07:00
xubaolin
a4b724d944
fix a scrollbar updating bug (#88152) 2021-08-16 12:17:02 -07:00
LongCatIsLooong
c49eba6c3f
[TextInput] minor fixes (#87973) 2021-08-16 12:12:04 -07:00
YeungKC
a40c5c29e6
Migration text selection manipulation. (#86986)
Consolidate duplicated cut/copy/paste/selectall code so it can be done via Actions in the future.
2021-08-16 10:38:49 -07:00
LongCatIsLooong
b3d12ebd77
Revert "[EditableText] call onSelectionChanged only when there're actual selection/cause changes (#87971)" (#88183) 2021-08-13 17:17:04 -07:00
zuvola
93d69544a1
Fix AnimatedCrossFade would focus on a hidden widget (#87618)
Moving the focus with the tab key on the external keyboard will move the focus to the widget that is hidden by AnimatedCrossFade.
2021-08-13 08:49:43 -07:00
LongCatIsLooong
6e224ee0e6
[EditableText] call onSelectionChanged only when there're actual selection/cause changes (#87971) 2021-08-12 17:27:03 -07:00
Justin McCandless
9e9ca69808
Home/End key support for Linux (#87294)
Support for more desktop keyboard keys/shortcuts.
2021-08-11 21:05:16 -07:00
Greg Spencer
10e4b04010
Switch document generation to use the snippets package (#87231)
Switch document generation to use the snippets package instead of the snippets code in the Flutter repo. In the process, some bugs in sample code analysis have been fixed, and I've fixed some more errors in the samples.

This will allow the snippets package to be developed separately from the Flutter repo, and reduce the code in the Flutter repo.

The snippets code is deleted in this PR.

I also converted some comments in the snippet templates to be regular comments instead of doc comments, because having a doc comment block before the imports causes the Dart import sorter to lose the comment. They should have been regular comments in the first place.

The snippets package resides in the assets-for-api-docs repo.

The sample analysis has also been converted to be run in parallel, and I've bumped the Dartdoc version to 1.0.2.
2021-08-11 19:48:29 -07:00