Skip to content

Commit

Permalink
deps: Update zeta-icon library (#57)
Browse files Browse the repository at this point in the history
* icons.dart

* [automated commit] lint format and import sort

* icons.dart

* [automated commit] lint format and import sort

* icons.dart

* [automated commit] lint format and import sort

* icons.dart

* add icon version to widgetbook;

---------

Co-authored-by: zeta-icons-bot <[email protected]>
Co-authored-by: github-actions <[email protected]>
  • Loading branch information
3 people authored May 2, 2024
1 parent 0a881b5 commit 7f36216
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion example/macos/Runner.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@
isa = PBXProject;
attributes = {
LastSwiftUpdateCheck = 0920;
LastUpgradeCheck = 1430;
LastUpgradeCheck = 1510;
ORGANIZATIONNAME = "";
TargetAttributes = {
33CC10EC2044A3C60003C045 = {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1430"
LastUpgradeVersion = "1510"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
Expand Down
5 changes: 3 additions & 2 deletions example/widgetbook/pages/assets/icon_widgetbook.dart
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ Widget iconsUseCase(BuildContext context) {
child: Center(
child: Column(
children: [
Text('Zeta Icons v' + zetaIconsVersion, style: ZetaTextStyles.displayMedium).paddingAll(ZetaSpacing.l),
Text('Tap icon to copy name to clipboard', style: ZetaTextStyles.titleMedium).paddingAll(ZetaSpacing.l),
Wrap(
spacing: ZetaSpacing.l,
Expand All @@ -31,8 +32,8 @@ Widget iconsUseCase(BuildContext context) {
(e) {
final nameArr = (e.key.split('_')..removeLast()).join(' ').capitalize();
return Container(
width: 100,
height: 100,
width: 120,
height: 120,
child: InkWell(
borderRadius: ZetaRadius.rounded,
hoverColor: Zeta.of(context).colors.surfaceHovered,
Expand Down
2 changes: 2 additions & 0 deletions lib/src/assets/icons.dart
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
// ignore_for_file: public_member_api_docs, constant_identifier_names
import 'package:flutter/material.dart';

const zetaIconsVersion = '0.4.1';

class ZetaIcons {
ZetaIcons._();
static const String _familyRound = 'zeta-icons-round';
Expand Down

0 comments on commit 7f36216

Please sign in to comment.