- 13 Oct, 2023 1 commit
-
-
Todd Volkert authored
Some render box subclasses have a specific layout contract that is tightly coupled with other render box subclasses (e.g. two private classes in a local project file). In these cases, it is also possible that they use a constraints object that is a subclass of `BoxConstraints`. To allow for this, this change makes the `constraints` argument to `RenderBox.computeDryLayout()` a covariant argument. For completeness' sake, this updates the other render objects in the rendering package to also use the covariant keyword for this argument.
-
- 20 Sep, 2023 1 commit
-
-
Michael Goderbauer authored
Avoids that dynamic accidentally sneaks in, see https://dart.dev/tools/analysis#enabling-additional-type-checks
-
- 07 Aug, 2023 1 commit
-
-
Kate Lovett authored
Fixes https://github.com/flutter/flutter/issues/59413 This relocates `mock_canvas.dart` and `recording_canvas.dart` from `flutter/test/rendering` to `flutter_test`. The testing functionality afforded by mock_canvas should be available to everyone, not just the framework. :) mock_canvas.dart needed a bit of cleanup - things like formatting and super parameters.
-
- 16 Jun, 2023 1 commit
-
-
Michael Goderbauer authored
It's time to say good bye to an old friend. It has outlived its usefulness. Farewell, AbstractNode! ð«¡
-
- 22 Mar, 2023 1 commit
-
-
Michael Goderbauer authored
Remove 1745 decorative breaks
-
- 08 Feb, 2023 1 commit
-
-
Greg Price authored
* Add test for RenderProxyBoxMixin; clarify doc, resolve TODO The TODO comment suggested this mixin would no longer be needed once a Dart issue on inherited constructors was fixed: https://github.com/dart-lang/sdk/issues/31543 That issue is now long since fixed, so I went to go carry out the TODO. But in doing so, I realized that the mixin's documentation was more right than the TODO comment: even with that issue fixed, there is a legitimate use case for this mixin, namely to reuse the implementation of RenderProxyBox in a class that also inherits from some other base class. Moreover, searching GitHub I found an example of a library that makes real use of that capability. So I think the right resolution is to accept that this separation is useful and delete the TODO. Then, add a test with an extremely simplified sketch of that real-world example. In case someone in the future attempts to simplify this mixin away, the test will point us at the use case that would be broken by such a change. Also remove the only in-tree use of the mixin, which was redundant; and expand the mixin's documentation to advise about that case. * Tweak formatting Co-authored-by:
Michael Goderbauer <goderbauer@google.com> * Cut comments --------- Co-authored-by:
Michael Goderbauer <goderbauer@google.com>
-
- 08 Sep, 2022 1 commit
-
-
Jonah Williams authored
-
- 29 Aug, 2022 1 commit
-
-
Greg Spencer authored
-
- 27 Jul, 2022 1 commit
-
-
Tomasz Gucio authored
-
- 02 Jul, 2022 1 commit
-
-
Jonah Williams authored
-
- 21 Jun, 2022 1 commit
-
-
Jonah Williams authored
-
- 17 Jun, 2022 1 commit
-
-
Bruno Leroux authored
-
- 08 Jun, 2022 1 commit
-
-
Alexandre Ardhuin authored
-
- 07 Jun, 2022 1 commit
-
-
Zachary Anderson authored
-
- 06 Jun, 2022 1 commit
-
-
Jonah Williams authored
-
- 20 May, 2022 1 commit
-
-
Casey Hillers authored
-
- 19 May, 2022 1 commit
-
-
Jonah Williams authored
-
- 16 May, 2022 1 commit
-
-
Dan Field authored
-
- 14 May, 2022 1 commit
-
-
Dan Field authored
-
- 27 Apr, 2022 1 commit
-
-
Phil Quitslund authored
-
- 26 Apr, 2022 2 commits
-
-
Jonah Williams authored
-
Jonah Williams authored
-
- 14 Apr, 2022 1 commit
-
-
Michael Goderbauer authored
-
- 03 Feb, 2022 1 commit
-
-
Ian Hickson authored
-
- 08 Oct, 2021 3 commits
-
-
Ian Hickson authored
-
Zachary Anderson authored
This reverts commit 5fd259be.
-
Ian Hickson authored
-
- 14 Sep, 2021 1 commit
-
-
Dan Field authored
* Make sure Opacity widgets/layers do not drop the offset
-
- 13 Sep, 2021 2 commits
-
-
Dan Field authored
- 05 Aug, 2021 1 commit
-
-
Darren Austin authored
-
- 08 Jun, 2021 1 commit
-
- 04 Jun, 2021 1 commit
-
-
Michael Goderbauer authored
-
- 23 Apr, 2021 1 commit
-
-
Alexandre Ardhuin authored
-
- 16 Mar, 2021 2 commits
-
-
Ian Hickson authored
-
Zachary Anderson authored
This reverts commit 0cbe5975.
-
- 15 Mar, 2021 1 commit
-
-
Ian Hickson authored
-
- 27 Jan, 2021 1 commit
-
-
Alexandre Ardhuin authored
-
- 08 Oct, 2020 1 commit
-
-
Alexandre Ardhuin authored
-
- 07 Oct, 2020 1 commit
-
-
Kate Lovett authored
-