Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

icons/0.1.58 #18

Merged
merged 5 commits into from
Feb 13, 2024
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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,836 changes: 1,831 additions & 1,005 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
Loading