Skip to content

Commit 59fa73a

Browse files
committed
Blend Modes #4
1 parent f6951fd commit 59fa73a

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

lib/src/transformers/node_transformers/passive_rectangle_transformer.dart

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -556,19 +556,6 @@ typedef ImageFillBuilder = Widget Function(
556556
bool obscureImages,
557557
);
558558

559-
String getColorHex2(
560-
Color color, {
561-
bool withAlpha = false,
562-
bool withHashtag = false,
563-
}) {
564-
String colorHex =
565-
(color.value - (color.alpha << 24)).toRadixString(16).padLeft(6, '0');
566-
String alphaHex = '';
567-
if (withAlpha) alphaHex = (color.alpha).toRadixString(16).padLeft(2, 'F');
568-
String hashtag = withHashtag ? '#' : '';
569-
return (hashtag + alphaHex + colorHex).toUpperCase();
570-
}
571-
572559
List<Widget> buildFills(
573560
BaseNode node, {
574561
Map<int, TypedBytes> imageBytes = const {},

0 commit comments

Comments
 (0)