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
Kate Lovett
26ccbd9ff6
Update Scrollbar behavior for mobile devices ( #72531 )
2020-12-17 15:34:02 -08:00
Todd Volkert
1c530a92ac
Override MultiChildRenderObjectElement renderObject getter to provide covariant type ( #72530 )
2020-12-17 14:47:23 -08:00
Todd Volkert
becf09c515
Update various API docs ( #72548 )
2020-12-17 14:46:25 -08:00
Paul Berry
9ec1601c46
Fix flutter in preparation for implementing Dart's "Infer non-nullability from local boolean variables" ( #72494 )
...
When https://github.com/dart-lang/language/issues/1274 (Infer
non-nullability from local boolean variables) is implemented, flow
analysis will detect that code like this no longer needs to perform a
null check:
final bool contextIsValid = focus != null && focus.context != null;
...
if (contextIsValid) {
... focus! ... // Null check unnecessary
}
To avoid a build failure due to the unnecessary null check, we need to
temporarily write it in a way that we can ignore it. Once the feature
is complete and rolled into flutter, I'll remove the null check
entirely.
2020-12-17 11:37:34 -08:00
Kate Lovett
6bb582219c
Remove deprecated [PointerEnterEvent, PointerExitEvent].fromHoverEvent ( #72395 )
2020-12-17 11:34:03 -08:00
Hans Muller
dc80d499f3
Added backwardsCompatibility flag to AppBarTheme ( #72472 )
2020-12-17 10:39:03 -08:00
Hans Muller
8960baa4b7
Updated the MaterialBanner example, NNBD, etc ( #72477 )
2020-12-17 09:49:02 -08:00
Sam Rawlins
8952fb38df
Remove unused dart:async imports. ( #72410 )
2020-12-16 11:23:03 -08:00
xster
ca82c572b7
Revert "let NOTICES be double gzip wrapped to reduce on-disk installed space ( #71899 )" ( #72438 )
2020-12-16 10:58:19 -08:00
Michael Goderbauer
a665dd1cab
Migrate more doc samples ( #72392 )
2020-12-16 10:57:56 -08:00
RomanJos
a3971153f6
[Proposal] Make mouseWheel zoom in % instead of pixels value ( #71266 )
...
InteractiveViewer scale gesture feel improvement.
2020-12-16 10:36:53 -08:00
Yash Johri
04c104cce6
[BottomNavigationBar] Adds more control to ToolTip ( #71079 )
2020-12-16 09:33:03 -08:00
Yash Johri
7ce8f4abae
Accessibility: repeated label on BottomNavigationBar fixed ( #71587 )
2020-12-16 09:23:02 -08:00
Shi-Hao Hong
2eee5ae949
[State Restoration] RestorableBoolN ( #71653 )
2020-12-15 17:53:04 -08:00
Yegor
67908dfb80
Reschedule engine frame if it arrives in the middle of warm-up ( #72115 )
...
* Reschedule engine frame if it arrives in the middle of warm-up
* user post-frame callback instead
2020-12-15 16:54:52 -08:00
xster
795b23ef44
Fix cupertino icons mapping which was misaligned by 1 ( #72384 )
2020-12-15 16:21:27 -08:00
Jesse
6471a34de2
Cleanup nullability for ImplicitlyAnimatedWidgetState ( #72091 )
2020-12-15 15:43:05 -08:00
Justin McCandless
d2d0c73f89
Migrated docs to nnbd ( #72307 )
2020-12-15 15:05:40 -08:00
Justin McCandless
34d4c7fe01
Migrated docs to nnbd ( #72305 )
...
Simply part of the movement to get our docs aligned with NNBD.
2020-12-15 14:30:07 -08:00
xster
4ed3432e8f
let NOTICES be double gzip wrapped to reduce on-disk installed space ( #71899 )
2020-12-15 13:29:14 -08:00
Kate Lovett
e9a8315fd2
Remove deprecated CupertinoTextThemeData.brightness ( #72017 )
2020-12-15 12:48:04 -08:00
Kate Lovett
b145a53395
Remove Scrollbar.isAlwaysShown assert based on Scrollbar.controller ( #72316 )
2020-12-15 10:53:04 -08:00
Justin McCandless
7d2e3a1859
Material Text Selection Toolbar improvements ( #69428 )
...
Exposes the ability to create custom Material text selection toolbar menus, and cleans up the code around these menus.
2020-12-15 08:59:08 -08:00
Darren Austin
30718a134f
Migrate some more material doc samples to null safety. ( #72303 )
2020-12-14 19:08:04 -08:00
Darren Austin
b9cfe053d6
Migrate some material doc samples to null safety. ( #72297 )
2020-12-14 19:03:05 -08:00
Greg Spencer
0351c74aeb
Make web buttons respond to enter key ( #72162 )
2020-12-14 18:58:03 -08:00
Michael Goderbauer
c9cb43ce1a
Migrate the first batch of API samples to null safety ( #72169 )
2020-12-14 11:20:45 -08:00
Justin McCandless
fb3dba74b7
Correct text selection pivot points ( #71756 )
2020-12-14 11:18:05 -08:00
Justin McCandless
a42aa04826
Remove duplicate setState in TextFormFieldState.reset ( #69062 )
...
Small performance optimization by removing a duplicate setState call.
2020-12-14 10:26:52 -08:00
Alex Li
63062a6443
Deprecate maxLengthEnforced for text fields ( #72043 )
2020-12-13 23:19:13 +08:00
Gary Qian
a76bb1a08e
Add DynamicFeature system channel ( #71879 )
2020-12-11 23:17:51 -08:00
Michael Goderbauer
c8d5f6a951
Fix api doc to fix tree ( #72159 )
2020-12-11 14:07:07 -08:00
chunhtai
58081821ab
Editable text should call onSelectionChanged when selection changes a… ( #72011 )
2020-12-11 13:53:04 -08:00
Mitesh Singh
49e50762c0
AdoptAWidget: PageView ( #71174 )
2020-12-11 15:48:48 -06:00
Kate Lovett
770a9b25d9
Updated Interactive Scrollbars ( #71664 )
2020-12-11 13:48:05 -08:00
Alabhya
8182c1a522
Added dartpad examples for SliverAppBar ( #69781 )
2020-12-11 13:43:05 -08:00
Michael Goderbauer
ff05ca2503
Prepare to migrate API doc samples and snippets to null safety ( #72040 )
2020-12-11 13:39:36 -08:00
xubaolin
abcfdfb92c
fix some unit test cases(ink_well_test.dart) bug ( #70447 )
...
This change fixes some bugs in ink_well_test.dart.
2020-12-11 11:23:19 -08:00
Sergio Eric
1219dd7b62
AdoptAWidget: PreferredSizeWidget ( #69539 )
...
Added 2 dartpad examples of PreferredSizeWidget usage
2020-12-11 10:23:23 -08:00
Todd Volkert
a1070e4f4c
Revert "Remove duplicate code in Element.rebuild() and BuildOwner.buildScope() ( #71940 )" ( #72120 )
...
This reverts commit c8f07aad563d9460eac0074be0a24a38158239af.
2020-12-10 23:24:21 -08:00
Michael Goderbauer
8df56056b4
Revert "Constrain width/hight when asking child for intrinsics ( #71880 )" ( #72102 )
...
This reverts commit ceca634e9800dc50c7680ecb346f8a4e442de5c5.
2020-12-10 17:03:56 -08:00
Daniel Edrisian
bff0ec470a
Add footer to CupertinoFormSection and fix CupertinoFormSection margins. ( #72046 )
2020-12-10 10:58:04 -08:00
LongCatIsLooong
0938b8a022
Add autofill troubleshooting tips to autofillHints documentation ( #70321 )
2020-12-10 10:48:02 -08:00
Alex Li
135a8c22b1
Introduce MaxLengthEnforcement ( #68086 )
2020-12-10 07:31:59 +08:00
gabber235
635dfc3e4f
Draggable: onDragUpdate callback ( #68185 )
2020-12-09 14:58:04 -08:00
houyushan
d12098da8a
Fix a ConstantTween's clerical error and Add some Tween testcases. ( #71830 )
2020-12-09 14:48:03 -08:00
Michael Goderbauer
ceca634e98
Constrain width/hight when asking child for intrinsics ( #71880 )
2020-12-09 14:42:19 -08:00
David Martos
56716f61a2
Chip theme label style is merged with the provided label style ( #70687 )
2020-12-09 11:28:05 -08:00
Todd Volkert
c8f07aad56
Remove duplicate code in Element.rebuild() and BuildOwner.buildScope() ( #71940 )
...
Element.rebuild() and BuildOwner.buildScope() both had code to
manager the `BuildOwner._debugCurrentBuildTarget` state variable.
Unfortunately, only one of the two places was using a try/finally
to ensure that the state variable was restored even if an error
was thrown.
This creates a private method to unify the copy/pasted code.
2020-12-08 17:58:28 -08:00