7969 Commits

Author SHA1 Message Date
LongCatIsLooong
d3bdbed498
[EditableText] preserve selection/composition range on unfocus (#86796) 2021-08-06 17:45:02 -07:00
Mahdi K. Fard
40e8620a27
Update dart preamble code. (#87557)
DataTable and Button NNBD docs fixes
2021-08-05 21:44:50 -07:00
Denis Grafov
6b32482b93
Make kMaterialEdges const (#87329) 2021-08-05 14:39:27 -07:00
Kate Lovett
7bbcdc239b
Prevent Scrollbar axis flipping when there is an oriented scroll controller (#87698) 2021-08-05 13:10:06 -07:00
Kate Lovett
0f465e5b2a
Revert "update ScrollMetricsNotification (#87421)" (#87693)
This reverts commit 52bf9dbbd72ecc787474da223c32d2368a4ad49e.
2021-08-04 17:59:50 -05:00
chunhtai
c38feb3b33
Router replaces browser history entry if state changes (#83509) 2021-08-04 15:30:04 -07:00
Taha Tesser
28f311ada9
[Documentation] Add AlignTransition interactive example (#87021) 2021-08-04 15:18:50 -07:00
Viren Khatri
f134f039c6
added autofocus and test (#87591) 2021-08-04 14:00:02 -07:00
Viren Khatri
dc6913042e
changed Scrollbar to StatelessWidget (#87647) 2021-08-04 12:35:04 -07:00
LongCatIsLooong
0f4e1db7ed
[Focus] defer autofocus resolution to _applyFocusChange (#85562) 2021-08-04 12:30:02 -07:00
Todd Volkert
6490a4e942
Add SerialTapGestureRecognizer (#83082)
This gesture recognizer can be used to recognize the classic
"onclick" behavior, where each tap in a series fires an event
with an incrementing "count" of how many taps have occurred
in series. This can in turn be used to build widgets that respond
to both tap and double-tap, or for widgets like the YouTube TV
player, where each subsequent tap in a series of >2 taps adjusts
the playhead another 15 seconds.

Fixes https://github.com/flutter/flutter/issues/81657
2021-08-04 12:12:38 -07:00
Yazeed AlKhalaf
e7fd092f7f
🔋 Enhance cupertino button fade in and fade out (#87139) 2021-08-04 10:30:05 -07:00
xubaolin
5a48a416b8
Update some Focus docs (#87561) 2021-08-03 18:25:05 -07:00
Greg Spencer
169bb1b73f
Fix the sample code analyzer to properly handle missing_identifier errors (#87593)
This fixes how the sample analyzer handles missing_identifier errors. It was looking at the wrong line, and missing an else clause, so it was silently allowing missing_identifier errors to pass.

In addition, this fixes the sample generation so that it uses the correct filename for the output files: it previously was looking for the first line that had a filename, which was meant to indicate a non-generated line. This change adds a new Line.generated constructor for generated lines, so that they can also have the correct filename associated with them.
2021-08-03 17:39:12 -07:00
xubaolin
79d32877c9
fix the DropdownButtonFormField's label display bug when the hint is non-null (#87104) 2021-08-03 14:10:03 -07:00
Jonah Williams
0d3b44e835
[flutter] replace 'checked mode' with 'debug mode' (#87408) 2021-08-03 13:25:05 -07:00
Greg Spencer
0151359c07
Fix some errors in snippets (#87528) 2021-08-03 10:20:04 -07:00
xubaolin
52bf9dbbd7
update ScrollMetricsNotification (#87421) 2021-08-02 21:40:04 -07:00
Rami
37c414dd8e
Allow for customizing and theming extended FAB's TextStyle (#87498) 2021-08-02 14:55:03 -07:00
Angjie Li
22436cca0e
Revert "Avoid passive clipboard read on Android (#86791)" (#87375) 2021-08-02 14:40:04 -07:00
chunhtai
67cee63087
Add string attribute api to text span (#86667) 2021-07-30 15:49:04 -07:00
xubaolin
46f160d559
update the scrollbar (#82687) 2021-07-30 13:19:04 -07:00
Renzo Olivares
9c32e5a1d2
Add enableIMEPersonalizedLearning flag to TextField and TextFormField (#87002)
* Add requestPrivacy parameter to TextField

* remove logs

* No need to pass _Editable requestPrivacy for now

* Forgot from last commit

* Add requestPrivacy flag to text form field

* Update docs

* Add requestPrivacy to CupertinoTextField

* Add test to verify requestPrivacy flag is sent to engine properly

* update docs

* fix tests

* rename requestPrivacy to enableIMEPersonalizedLearning

* Update text_input.dart

* default to true

* Have diagnostic properties default to true for enableIMEPersonalizedLearning
2021-07-30 00:20:45 -07:00
Tong Mu
c5573ea3d8
[Keyboard] Accept empty events (#87152) 2021-07-29 19:19:04 -07:00
Hans Muller
26c30fe2e3
Added BottomNavigationBar landscapeLayout parameter (#87211) 2021-07-29 16:54:07 -07:00
Justin McCandless
c5866c5e20
Explicitly set affinity when moving left/right by line (#87133) 2021-07-29 16:49:06 -07:00
Tong Mu
a7899c1961
[gen_keycodes] Remove nonexistent Web keys and improve their emulation (#87098) 2021-07-29 16:44:06 -07:00
Jim Graham
c451b6b0d7
Revert "Perform no shader warm-up by default (#87126)" (#87238)
This reverts commit 32c2e2bad9738798fc74e81133fffb8a84f751fb.
2021-07-29 15:14:16 -07:00
Hans Muller
a76212f8fa
Deprecate ThemeData.fixTextFieldOutlineLabel (#87281) 2021-07-29 14:43:15 -07:00
Tong Mu
caf876cf40
Reland: Keyboard events (#87174) 2021-07-29 14:24:03 -07:00
Renzo Olivares
63b61979da
Fix inconsistencies when calculating start/end handle rects for selection handles (#87236) 2021-07-29 11:19:02 -07:00
olof-dev
f226c1eae9
Added parameters boxHeightStyle, boxWidthStyle to RenderParagraph.getBoxesForSelection (#87183) 2021-07-29 09:04:05 -07:00
Wyte Krongapiradee
221705b6e6
Avoid passive clipboard read on Android (#86791) 2021-07-28 20:44:02 -07:00
Sam Rawlins
960463e66d
Remove "unnecessary" imports. (#85736) 2021-07-28 16:19:04 -07:00
Taha Tesser
e89747abcb
fix numpadEnter default shortcut (#87019) 2021-07-28 14:49:05 -07:00
Kate Lovett
daa721f2f0
Fix leading overscroll for RenderShrinkWrappingViewport (#87143) 2021-07-28 13:24:05 -07:00
xubaolin
8a139c073d
Re-land"[new feature]introduce ScrollMetricsNotification" (#85499) 2021-07-28 12:09:05 -07:00
James
10152dbb70
Add thumb color customization to CupertinoSwitch (#86775) 2021-07-28 10:39:06 -07:00
Tong Mu
2f4f170dd2
Revert "Keyboard events (#83752)" (#87171)
This reverts commit 5f792ba17088b356bf0d030844ab09fd7f2b812e.
2021-07-28 02:32:08 -07:00
Dan Field
32c2e2bad9
Perform no shader warm-up by default (#87126) 2021-07-27 16:34:05 -07:00
Matan Shukry
93de096e64
Add TooltipTriggerMode and provideTriggerFeedback to allow users to c… (#84434) 2021-07-27 13:39:04 -07:00
Attila Szabó
ea1182effd
WIP - Reland "Override MediaQuery for WidgetsApp (#81295)" (#85298) 2021-07-27 11:19:03 -07:00
Rami
83a215ed09
Allow for customizing and theming of extended FAB content padding (#87062) 2021-07-27 10:21:04 -04:00
Tong Mu
781c3599de
RawKeyEventData classes support diagnostic and equality (#86679)
This PR changes RawKeyEventData so that they use Diagnosticable to construct toString, and use operator== and hashCode to compare.
2021-07-26 16:19:58 -07:00
Mohammad Ghalayini
c4cf6f18cc
Expose minThumbLength, crossAxisMargin, and minOverscrollLength on RawScrollbar (#85338) 2021-07-26 15:38:05 -07:00
Tong Mu
5f792ba170
Keyboard events (#83752) 2021-07-26 12:28:05 -07:00
Renzo Olivares
db0b249f6b
Add label widget parameter to InputDecoration (#86810) 2021-07-26 10:28:03 -07:00
Harry Terkelsen
90b8a54961
Only stop search for upstream character if we hit a newline (#86960) 2021-07-26 09:24:34 -07:00
Jason Simmons
2dc11a85ff
Close the exit port used by the compute isolate utility function (#86591) 2021-07-22 17:56:03 -07:00
Hans Muller
60a072b098
Added Checkbox support for MaterialStateBorderSide (#86910) 2021-07-22 17:18:44 -07:00