What changed, and why it matters
This commit fixes a simple Dart syntax error by adding a missing space between the keyword `const` and `BorderRadius.only`. It is a cosmetic/code-correctness change with no security relevance.
No security action needed; this is a routine code-quality fix.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The diff changes constBorderRadius.only( to const BorderRadius.only( in a Flutter widget decoration. This is a straightforward syntax fix; without the space, the code would fail to compile because constBorderRadius is not a valid identifier. There is no security-sensitive behavior altered.
Changed components
lib/cake_pay/src/widgets/rounded_overlay_cards_widget.dartInspect captured patch +1 / −1
diff --git a/lib/cake_pay/src/widgets/rounded_overlay_cards_widget.dart b/lib/cake_pay/src/widgets/rounded_overlay_cards_widget.dart
index a4361db1..917b1ecb 100644
--- a/lib/cake_pay/src/widgets/rounded_overlay_cards_widget.dart
+++ b/lib/cake_pay/src/widgets/rounded_overlay_cards_widget.dart
@@ -18,7 +18,7 @@ class RoundedOverlayCards extends StatelessWidget {
BorderRadius.only(bottomLeft: Radius.circular(25.0), bottomRight: Radius.circular(25.0)),
child: Container(
decoration: BoxDecoration(
- borderRadius: constBorderRadius.only(
+ borderRadius: const BorderRadius.only(
bottomLeft: Radius.circular(24),
bottomRight: Radius.circular(24),
),
Why this scored 15/100
Community notes
Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.
The AI analysis stands alone for now. Submit a note if you can add evidence or important context.