Removing unnecessary parenthesis (#156928)

This is simply removing unnecessary parenthesis from various places. This change is because of a change to the unnecessary_parentesis lint that will trigger there. Here is the CL https://dart-review.googlesource.com/c/sdk/+/390161.

- https://github.com/dart-lang/linter/issues/4996

If anything else is needed please let me know. 

I'd like to ask for this PR to wait a bit until the bots are run again on that CL so that I can be sure nothing else will trigger, I will come back here and update this whenever everything is complete. Thanks!
This commit is contained in:
FMorschel
2024-10-17 20:46:25 -03:00
committed by GitHub
parent 4ed8136610
commit c40f418c05
5 changed files with 15 additions and 16 deletions

View File

@@ -59,13 +59,9 @@ class DesktopProductCardColumn extends StatelessWidget {
final int productCardIndex = index ~/ 2;
card = DesktopProductCard(
product: products[productCardIndex],
imageWidth: startLarge
? ((productCardIndex.isEven)
? largeImageWidth
: smallImageWidth)
: ((productCardIndex.isEven)
? smallImageWidth
: largeImageWidth),
imageWidth: startLarge == productCardIndex.isEven
? largeImageWidth
: smallImageWidth,
);
} else {
// This is just a divider.