From 71f44503e4ba389d5892ca5c07f3ffe02ec5a1c9 Mon Sep 17 00:00:00 2001 From: zhongweiguang Date: Mon, 20 Mar 2023 17:47:20 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8DCapsuleConfig=20color?= =?UTF-8?q?=E6=95=B0=E6=8D=AE=E6=BA=A2=E5=87=BA=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/mop.dart | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/mop.dart b/lib/mop.dart index 49c7904..8baf561 100644 --- a/lib/mop.dart +++ b/lib/mop.dart @@ -184,12 +184,12 @@ class CapsuleConfig { "capsuleRightMargin": capsuleRightMargin, "capsuleCornerRadius": capsuleCornerRadius, "capsuleBorderWidth": capsuleBorderWidth, - "capsuleBgLightColor": capsuleBgLightColor, - "capsuleBgDarkColor": capsuleBgDarkColor, - "capsuleBorderLightColor": capsuleBorderLightColor, - "capsuleBorderDarkColor": capsuleBorderDarkColor, - "capsuleDividerLightColor": capsuleDividerLightColor, - "capsuleDividerDarkColor": capsuleDividerDarkColor, + "capsuleBgLightColor": capsuleBgLightColor.toSigned(32), + "capsuleBgDarkColor": capsuleBgDarkColor.toSigned(32), + "capsuleBorderLightColor": capsuleBorderLightColor.toSigned(32), + "capsuleBorderDarkColor": capsuleBorderDarkColor.toSigned(32), + "capsuleDividerLightColor": capsuleDividerLightColor.toSigned(32), + "capsuleDividerDarkColor": capsuleDividerDarkColor.toSigned(32), "moreLightImage": moreLightImage, "moreDarkImage": moreDarkImage, "moreBtnWidth": moreBtnWidth,