chore(app): lint cleanups (const constructors, local function)

This commit is contained in:
esefxdz committed 2026-09-06 12:09:16 +03:00
1 parent 9d67679fa8
commit bbc83ea425
7 files changed
+12 -12

No files matched your search

+1 -1
View File
@@ -182,7 +182,7 @@ class _LightningPainter extends CustomPainter {
@override
void paint(Canvas canvas, Size size) {
final toScreen = (Offset p) => Offset(p.dx * size.width, p.dy * size.height);
Offset toScreen(Offset p) => Offset(p.dx * size.width, p.dy * size.height);
final scaledMain = bolt.mainPath.map(toScreen).toList();
final scaledBranches = bolt.branches
.map((b) => b.map(toScreen).toList())