Skip to content

Commit 1ab2ef2

Browse files
committed
Build issues fixed.
1 parent 48321e6 commit 1ab2ef2

File tree

2 files changed

+1
-21
lines changed

2 files changed

+1
-21
lines changed

lib/circles_selector/CirclesHomeWidget.dart

+1-6
Original file line numberDiff line numberDiff line change
@@ -431,9 +431,6 @@ class CircleGridPainter extends CustomPainter {
431431
currentCircleSize / 2,
432432
currentPaint,
433433
);
434-
435-
// _drawText(canvas, textPainter, circleOffset, index.toString(),
436-
// isSelected, animationControllers[index]?.value);
437434
}
438435
}
439436
}
@@ -462,11 +459,9 @@ class CircleGridPainter extends CustomPainter {
462459
);
463460
}
464461

462+
//Optimize this for better performance
465463
@override
466464
bool shouldRepaint(covariant CircleGridPainter oldDelegate) => true;
467-
// =>
468-
// offset != oldDelegate.offset ||
469-
// animationControllers != oldDelegate.animationControllers;
470465
}
471466

472467
class _VisibleArea {

lib/vinyl/vinyl.dart

-15
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,8 @@ import 'package:flutter/physics.dart';
66
import 'package:flutter/services.dart';
77
import 'package:flutter/widgets.dart';
88
import 'package:fx_2_folder/vinyl/examples/tools/camera_simulation.dart';
9-
import 'package:fx_2_folder/vinyl/card_stack_4_angles.dart';
10-
import 'package:fx_2_folder/vinyl/easing/super_duper_ease_in.dart';
11-
import 'package:fx_2_folder/vinyl/exmaples/glass_card.dart';
129
import 'package:fx_2_folder/vinyl/examples/spring_examples.dart';
1310
import 'package:fx_2_folder/vinyl/examples/spring_playground.dart';
14-
import 'package:fx_2_folder/vinyl/transform_examples.dart';
1511
import 'package:fx_2_folder/vinyl/examples/tools/widget_viewer.dart';
1612

1713
class VinylHomeWidget extends StatelessWidget {
@@ -21,18 +17,7 @@ class VinylHomeWidget extends StatelessWidget {
2117
Widget build(BuildContext context) {
2218
return Scaffold(
2319
backgroundColor: Colors.white,
24-
// body: WidgetViewer()
25-
// Stacked3DCardsLayout() //Stacked3DCardsLayout()
26-
// body: CameraSimulation(),
27-
28-
// body: TransformDemo(),
29-
30-
// body: SpringAnimationsPage(),
31-
3220
body: TransformApp(),
33-
// body: GlassCardPage(),
34-
35-
// body: SpringAnimationsDemo(),
3621
);
3722
}
3823
}

0 commit comments

Comments
 (0)