chore: prefer final and lazy init

This commit is contained in:
Gordon Hayes
2022-10-07 11:25:49 +02:00
parent b193e5a8c6
commit 5ce982a181
9 changed files with 72 additions and 78 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ class ChatBubble extends CustomPainter {
@override
void paint(Canvas canvas, Size size) {
var path = Path();
final path = Path();
const cornerSize = 18.0;
const buffer = 6.0;
const innerTailWidth = 7.0;