Skip to content

Commit 599b42d

Browse files
authored
Merge pull request #9 from Jusicool-Ver-2-0/feature/#8-add-person-icon
🔀 : :: Person Icon 추가
2 parents 2312ffc + e7bddda commit 599b42d

3 files changed

Lines changed: 16 additions & 0 deletions

File tree

assets/icons/person.svg

Lines changed: 3 additions & 0 deletions
Loading

example/lib/main.dart

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,10 @@ class ComponentTestScreen extends StatelessWidget {
160160
width: 100.w,
161161
height: 100.h,
162162
),
163+
164+
JusicoolIcon.chart(),
165+
JusicoolIcon.news(),
166+
JusicoolIcon.person(),
163167
],
164168
),
165169
),

lib/src/core/theme/icons/icons.dart

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,15 @@ class JusicoolIcon {
5050
_buildIcon('news.svg',
5151
color: color, width: width, height: height, onTap: onTap);
5252

53+
static Widget person({
54+
Color? color,
55+
double width = 24,
56+
double height = 24,
57+
VoidCallback? onTap,
58+
}) =>
59+
_buildIcon('person.svg',
60+
color: color, width: width, height: height, onTap: onTap);
61+
5362
static Widget pieChart({
5463
Color? color,
5564
double width = 24,

0 commit comments

Comments
 (0)