Michael Goderbauer
fda9ecfef7
Remove 1745 decorative breaks ( #123259 )
...
Remove 1745 decorative breaks
2023-03-22 21:12:22 +00:00
Hans Muller
1bfba7564b
Added identical(a,b) short circuit to rendering library lerp methods ( #121566 )
...
Added identical(a,b) short circuit to rendering library lerp methods
2023-02-28 00:55:56 +00:00
Michael Goderbauer
9837eb6fc5
Remove unnecessary null checks in flutter/rendering ( #118923 )
2023-01-21 01:34:50 +00:00
Mahesh Jamdade
f9331e2c6c
Pass fit property to RenderIndexedStack ( #109295 )
2022-08-16 12:08:26 +00:00
Christopher Fujino
b26346f2cc
fix null safe check in RenderIndexedStack ( #107581 )
2022-07-13 22:36:05 +00:00
Kohei Seino
41405ff0f3
Add RelativeRect.fromDirectional factory ( #107059 )
...
Add `fromDirectional` factory to `RelativeRect` for when an app needs to consider both TextDirection.ltr and TextDirection.rtl.
```
RelativeRect.fromDirectional(
textDirection: textDirection,
start: 10.0,
top: 20.0,
end: 30.0,
bottom: 40.0,
);
```
Addresses https://github.com/flutter/flutter/issues/107058 .
2022-07-07 10:18:06 -07:00
Pierre-Louis
e71eb183d8
Use curly_braces_in_flow_control_structures for rendering ( #104611 )
...
* Use `curly_braces_in_flow_control_structures` for `rendering`
* fix comments
* fix dangling
2022-05-25 19:57:57 +02:00
Dan Field
1662a14bc8
More missing clipBehavior respects ( #103931 )
2022-05-17 11:32:11 -07:00
Bruno Leroux
c18097178c
Fix empty Stack with infinite constraints throws ( #102642 )
2022-05-07 04:34:06 -07:00
Michael Goderbauer
51bcdb9407
super parameters for framework ( #100905 )
2022-04-13 22:38:40 -07:00
Kate Lovett
23ea5120d4
Remove deprecated Overflow and Stack.overflow ( #98583 )
2022-03-07 16:46:14 -08:00
Viren Khatri
078deb9230
Migrates packages/flutter to from hashValues to Object.hash ( #96109 )
...
* migrates lib/foundation and lib/widgets
* migrates lib/painting and lib/material
* migrates lib/cupertino, lib/gestures, lib/services, lib/semantics and lib/rendering
* fixes failing tests
* migrates test/
* improves hashing of lists
2022-03-01 23:54:11 +05:30
Marcel Kirchhoff
36a8f0f2ae
RenderIndexedStack - Mark invisible children as offstage in debugDescribeProperties ( #96639 )
2022-02-07 16:15:19 -08:00
nt4f04uNd
c70df378ae
Change hitTest signatures to be non-nullable ( #87792 )
2021-09-27 10:38:05 -07:00
LongCatIsLooong
a0b560f4d5
Workaround rounding erros in cupertino nav bar transition ( #88935 )
2021-08-31 14:01:08 -07:00
Dan Field
025397ae3f
Release retained resources from layers/dispose pictures ( #84740 )
2021-06-25 12:01:03 -07:00
Alexandre Ardhuin
f82046b150
add trailing comma when argList is splitted ( #79650 )
2021-04-03 07:09:02 -07:00
Alexandre Ardhuin
41507a0408
add missing trailing commas ( #79352 )
2021-03-30 17:04:02 -07:00
Michael Goderbauer
7b251f5f37
Enable use_function_type_syntax_for_parameters lint ( #77163 )
2021-03-04 08:59:17 -08:00
Michael Goderbauer
7a3a29e71f
Fixes Intrinsics for RenderParagraph and RenderWrap ( #70656 )
2020-11-20 17:24:58 -08:00
Greg Spencer
88809aa247
Standardize dartdoc macro names ( #69445 )
2020-11-02 13:28:05 -08:00
Alexandre Ardhuin
eefcff900c
Final definite assignment ( #67682 )
2020-10-10 14:42:02 -07:00
Matej Knopp
24abe59f38
Provide oldLayer where possible ( #67320 )
2020-10-09 13:07:05 -07:00
Alexandre Ardhuin
c2e43403af
apply upcoming lint cast_nullable_to_non_nullable ( #66455 )
...
* apply upcoming lint cast_nullable_to_non_nullable
* make RenderObjectElement.renderObject non-nullable
2020-09-27 21:29:42 +02:00
Yuqian Li
8e8acaac7a
Add Overflow back with deprecation ( #66305 )
2020-09-22 17:07:04 -07:00
Yuqian Li
7948a7863b
Continue the clipBehavior breaking change ( #61366 )
...
This follows https://github.com/flutter/flutter/pull/59364 and cl/319911104
FittedBox is still default to hardEdge clip as new FittedBox is added to Google very quickly. Let's first roll other part of changes into Google first.
2020-09-15 11:27:07 -07:00
Ian Hickson
8a6a76a334
migrate rendering to nullsafety ( #64621 )
2020-08-27 16:38:10 -07:00
Ian Hickson
93395b4890
Add null safety migration annotations. ( #64227 )
2020-08-21 11:21:04 -07:00
Nolan Scobie
43c1b34cf5
Add punctuation for unterminated sentences in doc comments ( #62755 )
...
* Add punctuation for unterminated sentences in doc comments
* Addressing review nit
2020-08-06 19:18:52 -04:00
chunhtai
c44e5a32b5
Revert "InkDecoration do not paint if it's part of the tree doesn't get painted ( #61216 )" ( #61963 )
...
This reverts commit fdf87edd2fadb3ba3219d23792f0210384533e1b.
2020-07-21 09:35:40 -07:00
xubaolin
fdf87edd2f
InkDecoration do not paint if it's part of the tree doesn't get painted ( #61216 )
2020-07-20 18:56:04 -07:00
Todd Volkert
b58c3f0852
Update documentation ( #61424 )
2020-07-14 10:25:24 -07:00
Kate Lovett
3176232cb4
Doc and Error Message Improvements ( #60726 )
2020-07-07 17:49:03 -07:00
liyuqian
42e02d60d3
Reland non-breaking "Add clipBehavior to widgets with clipRect #55977 " ( #59364 )
...
* Revert "Revert "Add clipBehavior to widgets with clipRect (#55977 )" (#58344 )"
This reverts commit 1d395c5e187370f2838bb043d3b438029b484bfc.
* Add missed Overflow
2020-06-17 10:57:40 -07:00
Alexandre Ardhuin
4d7525f05c
Opt out nnbd in packages/flutter ( #59186 )
...
* add language version 2.8 in packages/flutter
* enable non-nullable analyzer flag
2020-06-11 14:11:30 +02:00
Mehmet Fidanboylu
1d395c5e18
Revert "Add clipBehavior to widgets with clipRect ( #55977 )" ( #58344 )
...
This reverts commit cd593dae1961ca2bc5c045a310f16e6cdffc8294.
2020-05-31 07:41:50 -07:00
liyuqian
cd593dae19
Add clipBehavior to widgets with clipRect ( #55977 )
...
* Add clipBehavior to RenderFlex
* Add clipBehavior to FittedBox
* Add clipBehavior to Flex and FittedBox
* Add clipBehavior to UnconstrainedBox
* Add clipBehavior to Stack and Wrap
* Add clipBehavior to TextEditable
* Add clipBehavior to ListWheelScrollView
* Add clipBehavior to SingleChildScrollView
* Add clipBehavior to RenderViewportBase's widgets
Those widgets are NestedScrollView and ShrinkWrappingViewport.
* Fix tests
* Remove enum Overflow and fix typo
* Remove clipToSize
* Analyze fix
* Remove Mixin and other small fixes
* Fix tests and respect Stack's default clipBehavior
* Add Overflow back to make it non-breaking
* Restore clipBehavior to make it non-breaking
* Small fixes
* Fix rebase
2020-05-29 15:38:50 -07:00
Jonah Williams
213027dd82
[Perf/codesize] Reland: Reduce constraint member reads during layout
...
This reverts commit 2132a0c7a3d2a107190238ca0c5570baa0467bb7.
2020-02-28 10:02:57 -08:00
Ferhat
2132a0c7a3
Revert "[Perf/codesize] Reduce constraint member reads during layout ( #51418 )" ( #51489 )
...
This reverts commit 69080e07e6bb178332bf546cf83054a85b91b2fe.
2020-02-26 15:51:30 -08:00
Ferhat
69080e07e6
[Perf/codesize] Reduce constraint member reads during layout ( #51418 )
2020-02-25 13:50:21 -08:00
Michael Goderbauer
bc5ea0a05a
Reland "Do not rebuild Routes when a new opaque Route is pushed on top" ( #49376 )
2020-01-27 23:56:41 -08:00
Maurice Parrish
52c665d23f
Revert "Do not rebuild Routes when a new opaque Route is pushed on top ( #48900 )" ( #49366 )
...
This reverts commit 8eecdbe823ea09dd723a8af34c7c275e5536d728.
2020-01-23 11:32:04 -08:00
Michael Goderbauer
8eecdbe823
Do not rebuild Routes when a new opaque Route is pushed on top ( #48900 )
2020-01-21 16:24:17 -08:00
Alexandre Ardhuin
82262d8896
format operator== according to flutter style guide ( #48449 )
2020-01-09 08:23:02 -08:00
Alexandre Ardhuin
a5f9b3b036
implicit-casts:false in flutter/lib/src/rendering ( #45720 )
...
* implicit-casts:false in flutter/lib/src/rendering
* address review comments
2019-12-04 10:27:04 +01:00
Ian Hickson
449f4a6673
License update ( #45373 )
...
* Update project.pbxproj files to say Flutter rather than Chromium
Also, the templates now have an empty organization so that we don't cause people to give their apps a Flutter copyright.
* Update the copyright notice checker to require a standard notice on all files
* Update copyrights on Dart files. (This was a mechanical commit.)
* Fix weird license headers on Dart files that deviate from our conventions; relicense Shrine.
Some were already marked "The Flutter Authors", not clear why. Their
dates have been normalized. Some were missing the blank line after the
license. Some were randomly different in trivial ways for no apparent
reason (e.g. missing the trailing period).
* Clean up the copyrights in non-Dart files. (Manual edits.)
Also, make sure templates don't have copyrights.
* Fix some more ORGANIZATIONNAMEs
2019-11-27 15:04:02 -08:00
Alexandre Ardhuin
df4bf453ab
more UI-as-code ( #35516 )
2019-09-17 16:23:44 +02:00
Dan Field
3eb40925e5
Always test semantics ( #35110 )
...
Default `semanticsEnabled` to true for `testWidgets` and fix associated bugs
2019-06-28 12:40:23 -07:00
Jonah Williams
6feedcc6a4
use toFixedAsString and DoubleProperty in diagnosticProperties ( #33488 )
2019-05-30 08:57:10 -07:00
Michael Goderbauer
1621baafc7
Introduce separate HitTestResults for Box and Sliver ( #31894 )
2019-05-09 10:00:01 +02:00