- 13 Feb, 2023 1 commit
-
-
Ben Konyi authored
Observatory is being deprecated for Dart 3.0 so it should no longer be referenced in tooling messaging / flags. See https://github.com/dart-lang/sdk/issues/50233
-
- 03 Feb, 2023 1 commit
-
-
Jonah Williams authored
* [framework] use shader tiling instead of repeated calls to drawImage * ++ * ++ * review and test updates * ++ * Update decoration_image.dart * Update decoration_image.dart * ++ * ++ * ++ * ++ * ++ * Update painting.dart * Update decoration_test.dart
-
- 31 Jan, 2023 1 commit
-
-
Ian Hickson authored
The default implementation returns EdgeInsets.zero, the ShapeDecoration subclass already makes it non-nullable, and there isn't any benefit to returning null as far as I can tell.
-
- 26 Jan, 2023 1 commit
-
-
Todd Volkert authored
This updates the framework to provide higher level wrappers around ui.instantiateImageCodecWithSize(). Functionally, this doesn't change anything (other than deprecating the older loadBuffer() method in favor of loadImage()), but it sets the stage for a simpler change that will allow us to provide a more flexible way to load sized images. #118543
-
- 25 Jan, 2023 2 commits
-
-
Ahmed Ashour authored
* Remove superfluous words from comments. * Revert `win32_window.h` Which seems to come from `gallery`
-
Todd Volkert authored
* Only emit image painting events in debug & profile modes. These events were being emitted in release mode, which was showing up in the profiler for my app as taking up a noticeable amount of build time (still well within the frame budget, but this code was near the top of the list). * Review comment
-
- 24 Jan, 2023 1 commit
-
-
Ahmed Ashour authored
* Remove superfluous words. * Update packages/flutter/lib/src/widgets/slotted_render_object_widget.dart Co-authored-by:
Michael Goderbauer <goderbauer@google.com>
-
- 21 Jan, 2023 1 commit
-
-
Michael Goderbauer authored
-
- 18 Jan, 2023 2 commits
-
-
Michael Goderbauer authored
* remove single-view assumption from paintImage * dpr * fix test for web
-
Paul Berry authored
* Fix applyBoxFit's handling of fitWidth and fitHeight. Previously, in `fitWidth` mode, if the input size had a wider aspect ratio than the output size, `applyBoxFit` would make the source rect taller than the input size in order to match the aspect ratio of the destination rect. Similarly, in `fitHeight` mode, if the input size had a taller aspect ratio than the output size, `applyBoxFit` would make the source rect wider than the input size in to match the aspect ratio of the destination rect. This is in contrast to all the other modes, which never output a source rect that's larger than the input size. Most of the time this worked as intended (since attempting to blit pixels that are outside the source image has no effect), however it meant that if a user attempted to create a `BoxDecoration` that used both `fitWidth` and `repeatY` (e.g. in an attempt to tile a background image), the image would not actually appear to repeat, since the logic in `paintImage` for determining the proper tiling stride is based on the destination image size, meaning that the entire destination rect would be covered in a single tile. This change modifies `applyBoxFit` so that in `fitWidth` mode, if the input size has a wider aspect ratio than the output size, it uses formulas that are equivalent to `contain`, whereas if the input size has a taller aspect ratio than the output size, it uses formulas that are equivalent to `cover`. And vice versa for `fitHeight` mode. This produces source and destination rects that match the behaviour specified in https://api.flutter.dev/flutter/painting/BoxFit.html. * Apply suggestions from code review Co-authored-by:
Michael Goderbauer <goderbauer@google.com>
-
- 13 Jan, 2023 2 commits
-
-
Hans Muller authored
-
Dennis Kugelmann authored
* Add test to check that package prefix of font fallback is not duplicated * Fix duplicate package prefix of font family fallback * Add test to check that package prefix of font fallback is not duplicated * Fix duplicate package prefix of font family fallback
-
- 05 Jan, 2023 1 commit
-
-
LongCatIsLooong authored
* Avoid affinity like the plague * ignore lint * clean up * fix test * review * Move wordboundary to text painter * docs * fix tests
-
- 03 Jan, 2023 1 commit
-
-
Greg Price authored
-
- 21 Dec, 2022 1 commit
-
-
alanwutang11 authored
* cacheWidth cacheHeight support for web canvaskit * comments * clarifying comment for loadTestImageProvider class Co-authored-by:
alanwutang11 <alpwu@google.com>
-
- 11 Dec, 2022 1 commit
-
-
Ian Hickson authored
-
- 07 Dec, 2022 1 commit
-
-
Casey Hillers authored
Revert "Speed up first asset load by encoding asset manifest in binary rather than JSON (#113637)" (#116662) This reverts commit 56cad89b.
-
- 05 Dec, 2022 1 commit
-
-
Andrew Kolos authored
-
- 03 Dec, 2022 1 commit
-
-
Todd Volkert authored
(and remove one video that was listed twice with the same widget)
-
- 16 Nov, 2022 1 commit
-
-
Srujan Gaddam authored
This code should be calling the factory method, not the synthetic constructor.
-
- 07 Nov, 2022 1 commit
-
-
Greg Spencer authored
Fix `CastError` in `StadiumBorder.lerpTo` and `StadiumBorder.lerpFrom` when using `BorderRadiusDirectional` (#114826) * Fix casting in StadiumBorder lerp * Add tests * Fix made-up names
-
- 28 Oct, 2022 1 commit
-
-
Justin McCandless authored
* Can show context menus anywhere in the app, not just on text. * Unifies all desktop/mobile context menus to go through one class (ContextMenuController). * All context menus are now just plain widgets that can be fully customized. * Existing default context menus can be customized and reused.
-
- 25 Oct, 2022 1 commit
-
-
Tomasz Gucio authored
-
- 18 Oct, 2022 1 commit
-
-
Greg Spencer authored
-
- 14 Oct, 2022 1 commit
-
-
joshualitt authored
-
- 07 Oct, 2022 2 commits
-
-
Andrew Kolos authored
-
LongCatIsLooong authored
-
- 06 Oct, 2022 2 commits
-
-
alanwutang11 authored
-
Jonah Williams authored
Update FileImage to use the new ImmutableBuffer.fromFilePath constructor to avoid loading bytes through the Dart heap. As a side effect, tis fixes #112881 which prevents dart:io from opening a file larger than INT_MAX bytes on windows. For files that are not exactly a dart:io file, we still use the old method of calling loadBytes() in order to not make this a breaking change.
-
- 29 Sep, 2022 1 commit
-
-
joshualitt authored
-
- 28 Sep, 2022 1 commit
-
-
LongCatIsLooong authored
-
- 26 Sep, 2022 1 commit
-
-
chunhtai authored
-
- 23 Sep, 2022 1 commit
-
-
Casey Hillers authored
-
- 19 Sep, 2022 1 commit
-
-
joshualitt authored
-
- 16 Sep, 2022 1 commit
-
-
chunhtai authored
-
- 15 Sep, 2022 1 commit
-
-
Greg Spencer authored
-
- 14 Sep, 2022 2 commits
-
-
Greg Spencer authored
-
Dan Field authored
-
- 13 Sep, 2022 1 commit
-
-
Dan Field authored
-
- 12 Sep, 2022 1 commit
-
-
Dan Field authored
-