From 30b19283669c2912f6f964613869d717cdec7fd2 Mon Sep 17 00:00:00 2001 From: Calcitem Date: Sat, 7 Nov 2020 01:50:48 +0800 Subject: [PATCH] =?UTF-8?q?flutter:=20=E5=BB=BA=E7=AB=8B=20const=20boardBo?= =?UTF-8?q?rderRadius=20=E5=B8=B8=E9=87=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/ui/flutter/lib/board/board-widget.dart | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/ui/flutter/lib/board/board-widget.dart b/src/ui/flutter/lib/board/board-widget.dart index 69eab592..5ba8405b 100644 --- a/src/ui/flutter/lib/board/board-widget.dart +++ b/src/ui/flutter/lib/board/board-widget.dart @@ -11,6 +11,8 @@ class BoardWidget extends StatelessWidget { static const padding = 5.0; static const digitsHeight = 0.0; + static const double boardBorderRadius = 5; + final double width; final double height; final Function(BuildContext, int) onBoardTap; @@ -25,7 +27,7 @@ class BoardWidget extends StatelessWidget { width: width, height: height, decoration: BoxDecoration( - borderRadius: BorderRadius.circular(5), + borderRadius: BorderRadius.circular(boardBorderRadius), color: ColorConst.boardBackgroundColor, ), child: CustomPaint(