Add Custome Icons pack

This commit is contained in:
2025-04-09 12:54:18 +02:00
parent dc796612fb
commit 0434a27001
4 changed files with 80 additions and 4 deletions

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,23 @@
import 'package:flutter/widgets.dart'; // You need this import for IconData
class MihIcons {
MihIcons._(); // This makes the class non-instantiable (good practice for utility classes)
// This MUST match the 'family' name you specify in pubspec.yaml
static const _mihFontFam = 'MihIcons';
// Set to your package name ONLY if this font is part of a separate package you created
static const String? _mihFontPkg = null;
// IconData constant for 'mih_circle_frame' using its code 59392
// Note: We use lowerCamelCase for Dart variable names
static const IconData mihCircleFrame =
IconData(59393, fontFamily: _mihFontFam, fontPackage: _mihFontPkg);
// IconData constant for 'mih_logo' using its code 59393
static const IconData mihLogo =
IconData(59392, fontFamily: _mihFontFam, fontPackage: _mihFontPkg);
// IconData constant for 'mzansi_ai_logo' using its code 59394
static const IconData mzansiAiLogo =
IconData(59394, fontFamily: _mihFontFam, fontPackage: _mihFontPkg);
}