Skip to content

Commit

Permalink
chore: icons/0.1.58 (#18)
Browse files Browse the repository at this point in the history
* icons.dart

* rounded font file

* sharp font file

* Update example app to use icons list

* [automated commit] lint format and import sort

---------

Co-authored-by: zeta-icons-bot <[email protected]>
Co-authored-by: github-actions <[email protected]>
  • Loading branch information
3 people authored Feb 13, 2024
1 parent a2347ad commit 2560be2
Show file tree
Hide file tree
Showing 6 changed files with 1,812 additions and 1,929 deletions.
975 changes: 2 additions & 973 deletions example/lib/pages/assets/icons_example.dart

Large diffs are not rendered by default.

Binary file modified lib/src/assets/fonts/zeta-icons-round.ttf
Binary file not shown.
Binary file modified lib/src/assets/fonts/zeta-icons-sharp.ttf
Binary file not shown.
2,759 changes: 1,806 additions & 953 deletions lib/src/assets/icons.dart

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions lib/src/components/checkbox/checkbox.dart
Original file line number Diff line number Diff line change
Expand Up @@ -169,8 +169,8 @@ class _CheckboxState extends State<_Checkbox> {
: Icon(
_value != null
? widget.rounded
? ZetaIcons.check_round
: ZetaIcons.check_sharp
? ZetaIcons.check_mark_round
: ZetaIcons.check_mark_sharp
: widget.rounded
? ZetaIcons.remove_round
: ZetaIcons.remove_sharp,
Expand Down
3 changes: 2 additions & 1 deletion lib/src/components/chips/chip.dart
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,8 @@ class _ZetaChipState extends State<ZetaChip> {
bool selected = false;

Widget? get leading =>
widget.leading ?? (selected ? Icon(widget.rounded ? ZetaIcons.check_round : ZetaIcons.check_sharp) : null);
widget.leading ??
(selected ? Icon(widget.rounded ? ZetaIcons.check_mark_round : ZetaIcons.check_mark_sharp) : null);

@override
void initState() {
Expand Down

0 comments on commit 2560be2

Please sign in to comment.