From 5ebfff0402a2c7cb1537f9db21b061865af133dd Mon Sep 17 00:00:00 2001 From: zhourui9021 Date: Thu, 9 Nov 2023 14:55:02 +0400 Subject: [PATCH] Update color_extension.dart --- lib/helper/color_extension.dart | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/helper/color_extension.dart b/lib/helper/color_extension.dart index d9c719c..0db436a 100644 --- a/lib/helper/color_extension.dart +++ b/lib/helper/color_extension.dart @@ -11,7 +11,6 @@ extension HexColor on Color { /// 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')}';