Chris Bracken
3e7e06512c
Correct misspellings throughout the codebase ( #79500 )
2021-04-01 10:04:03 -07:00
Alexandre Ardhuin
e384ca7979
use null aware operators for function invocations ( #79049 )
2021-03-26 09:34:03 -07:00
chunhtai
bed88a1a5e
Fix rendereditable to check the latest text before setting the selection ( #78919 )
...
* Fix rendereditable to check the latest text before setting the selection
* add regression comment
* addressing comments and fix tests
2021-03-25 11:49:44 -07:00
LongCatIsLooong
ea3d4dbd6e
Reland "ConstraintsTransformBox ( #77994 )" reverted in ( #78661 ) ( #78673 )
2021-03-24 10:35:02 -07:00
Mouad Debbar
c0bcb4fc16
Revert "ConstraintsTransformBox ( #77994 )" ( #78661 )
...
This reverts commit 8c44abc009a333b0494598c0cfda0fbc07358234.
2021-03-19 16:34:57 -07:00
LongCatIsLooong
8c44abc009
ConstraintsTransformBox ( #77994 )
2021-03-19 15:56:04 -07:00
Ian Hickson
f3c25fa07a
Align more closely with package:test ( #77118 ) ( #78343 )
2021-03-16 13:58:02 -07:00
Zachary Anderson
e7e1a04aa3
Revert "Align more closely with package:test ( #77118 )" ( #78329 )
...
This reverts commit 0cbe597540f6b51ab7157ab8747906e9923b79e4.
2021-03-16 09:26:34 -07:00
Ian Hickson
0cbe597540
Align more closely with package:test ( #77118 )
2021-03-15 16:28:02 -07:00
Michael Goderbauer
d637b1874f
non-breaking changes for prefer_mixin lint ( #77837 )
2021-03-11 19:50:03 -08:00
Tong Mu
fa06b34024
Refactor: Move mouse cursor classes to "services" package ( #77751 )
2021-03-11 19:45:04 -08:00
Justin McCandless
541bff4058
Text Editing Movement Keys via Shortcuts ( #75032 )
...
Text editing shortcuts involving the arrow keys are no longer handled by RenderEditable's RawKeyboardListener, they use the new Shortcuts setup. First PR in a plan to port all text editing keyboard handling to shortcuts.
2021-03-11 15:52:04 -08:00
Michael Goderbauer
807bb29888
enable prefer_function_declarations_over_variables lint ( #77398 )
2021-03-05 18:29:04 -08:00
Michael Goderbauer
ed755fba5e
Enable avoid_unnecessary_containers lint ( #77294 )
2021-03-04 15:29:03 -08:00
Michael Goderbauer
7b251f5f37
Enable use_function_type_syntax_for_parameters lint ( #77163 )
2021-03-04 08:59:17 -08:00
Greg Spencer
c6ef4c75d9
Turn on sized_box_for_whitespace lint, fix instances. ( #77099 )
2021-03-03 17:29:02 -08:00
chunhtai
b0d4d44853
Reland "fixes TextInputFormatter gets wrong old value of a selection" ( #76653 )
2021-03-02 11:54:02 -08:00
Justin McCandless
1794e81f61
Keep the selection after 'Copy' pressed on iOS. ( #76327 )
2021-02-23 15:56:04 -08:00
chunhtai
b5139515c1
Revert "fixes TextInputFormatter gets wrong old value of a selection ( #75541 )" ( #76627 )
...
This reverts commit a46139a2cef8144444a3e13a3970e9a267304b91.
2021-02-23 11:25:01 -08:00
chunhtai
a46139a2ce
fixes TextInputFormatter gets wrong old value of a selection ( #75541 )
2021-02-19 11:16:02 -08:00
Sam Rawlins
dea1c46a3c
Remove "unnecessary" imports. ( #75637 )
2021-02-10 17:06:03 -08:00
Michael Goderbauer
8e87408fbe
CupertinoPageTransition Optimizations ( #75670 )
2021-02-10 16:03:07 -08:00
Sam Rawlins
53f5bdbf91
Remove "unnecessary" imports in tests ( #75705 )
2021-02-09 12:46:05 -08:00
Tomasz Gucio
d031a61a62
Add RenderEditable keys listener back in attach() ( #75614 )
2021-02-09 12:36:04 -08:00
LongCatIsLooong
76be55813b
Move caret/highlight painting to custom painters ( #72828 )
2021-02-01 14:41:04 -08:00
Alexandre Ardhuin
d546e1d311
fix for upcoming lint use_named_constants ( #74788 )
2021-01-27 20:20:44 +01:00
Jia Hao
8a5ace25a5
Improve performance of Widget Tests ( #70730 )
2021-01-12 17:29:03 -08:00
Nathan Walker
b65a235139
SliverAppBar with ShrinkWrap Patch ( #73195 )
2021-01-07 10:39:02 -08:00
Todd Volkert
e2a0d03b79
Avoid null check operator failure in RenderFlex._hasOverflow ( #72122 )
...
Fixes https://github.com/flutter/flutter/issues/71972
2020-12-17 19:25:28 -08:00
J-P Nurmi
803c07fe3b
Fix EditableText.enableInteractiveSelection on desktop & web ( #70972 )
...
selectionEnabled was not taken into account in:
key movement handling in RenderEditable
mouse drag handling in TextSelectionGestureDetectorBuilder
2020-12-17 16:56:47 -08:00
Justin McCandless
fb3dba74b7
Correct text selection pivot points ( #71756 )
2020-12-14 11:18:05 -08:00
Jia Hao
bf8313f8fc
Add a test for intrinsic size checks ( #71539 )
2020-12-03 08:48:04 -08:00
LongCatIsLooong
df28355b0c
Raw keyboard shortcuts & deletions should not read from _plainText ( #71236 )
2020-12-02 17:13:04 -08:00
xubaolin
543d3cfa57
Add a [valid] property of [MouseTrackerAnnotation] indicates the annotation states. ( #69866 )
2020-11-17 08:03:02 -08:00
Jason Simmons
a56584857f
Ignore text selection boxes when assembling semantics for placeholder runs ( #70487 )
2020-11-16 10:28:03 -08:00
Michael Goderbauer
786d0306db
Assert for RenderFlex intrinsics if using baseline alignment ( #70139 )
2020-11-10 14:29:41 -08:00
David Garcia
03a3457f10
fix(itemExtent): Fix rounded issue using precisionErrorTolerance ( #68199 )
2020-11-02 13:23:04 -08:00
Michael Goderbauer
0490fd75aa
Make Theme.of non-nullable ( #68922 )
2020-11-02 09:20:42 -08:00
Michael Goderbauer
c83dd3cc75
Fix build ( #69426 )
2020-10-30 11:34:18 -07:00
Jacek Marchwicki
32b9af6996
Use the correct pleace for the system navigation bar color adjustment ( #68102 )
2020-10-30 10:48:03 -07:00
stuartmorgan
3da995adec
Handle backspace in text fields ( #68812 )
...
Currently the framework handles delete, but not backspace, so embeddings
all have to implement backspace handling themselves. This eliminates
that inconsistency and allows simplified code in embeddings by adding
backspace handling.
It also fixes a bug uncovered in the delete handling where deleting a
selection would also delete the next character after the selection.
2020-10-22 13:51:07 -07:00
Michael Goderbauer
42f3709a5a
Sound null safety for framework and flutter_test ( #68642 )
2020-10-21 10:09:11 -07:00
YeungKC
c706abf075
Fix error cursor position for left and right arrow event after text selection ( #68402 )
2020-10-19 12:42:03 -07:00
HeavenOSK
66cf8d47a3
[Improvement] Add prefix Alignment. for toString of Alignment ( #67860 )
...
* modify: add prefix `Alignment.` for toString of Alignment
2020-10-14 13:47:28 +08:00
Alexandre Ardhuin
4acc790252
enable lint cast_nullable_to_non_nullable ( #67629 )
2020-10-08 21:05:43 +02:00
Alexandre Ardhuin
0d8d4f77aa
unnecessary null comparison ( #67525 )
2020-10-08 09:26:30 +02:00
Kate Lovett
019e90f7df
[NNBD] Migrates some rendering tests ( #67449 )
2020-10-07 16:27:06 -07:00
Darren Austin
af0c7aed1c
Migrate framework tests for rendering, semantics, widgets to null safety ( #67453 )
...
Migrate framework tests for rendering, semantics, widgets to null safety.
2020-10-07 10:06:32 -07:00
Michael Goderbauer
b3bd9e6924
Migrate more tests to null safety ( #67360 )
2020-10-05 19:52:03 -07:00
Michael Goderbauer
8998167d0f
Make FlutterErrorDetails.exception non-nullable as documented ( #67364 )
2020-10-05 18:07:02 -07:00