From b956ace694a855116b91665bdd1cb918709bfe19 Mon Sep 17 00:00:00 2001 From: Weller <1812208341@qq.com> Date: Fri, 16 Oct 2020 14:51:34 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dcolor=E7=BC=96=E8=AF=91?= =?UTF-8?q?=E9=94=99=E8=AF=AF=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/util/extension/color.dart | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/util/extension/color.dart b/lib/util/extension/color.dart index 49a76d0..371e57f 100644 --- a/lib/util/extension/color.dart +++ b/lib/util/extension/color.dart @@ -35,9 +35,9 @@ class HexColor { } /// Prefixes a hash sign if [leadingHashSign] is set to `true` (default is `true`). - String toHex({bool leadingHashSign = true}) => '${leadingHashSign ? '#' : ''}' - '${alpha.toRadixString(16).padLeft(2, '0')}' - '${red.toRadixString(16).padLeft(2, '0')}' - '${green.toRadixString(16).padLeft(2, '0')}' - '${blue.toRadixString(16).padLeft(2, '0')}'; + // String toHex({bool leadingHashSign = true}) => '${leadingHashSign ? '#' : ''}' + // '${alpha.toRadixString(16).padLeft(2, '0')}' + // '${red.toRadixString(16).padLeft(2, '0')}' + // '${green.toRadixString(16).padLeft(2, '0')}' + // '${blue.toRadixString(16).padLeft(2, '0')}'; }