NiceIconRegistry class
Centralized registry for all icons with search & discovery.
Properties
-
all
→ List<
NiceIconMeta> -
Get all registered icons.
no setter
-
allNames
→ List<
String> -
Get all registered icon names.
no setter
-
categoryCounts
→ Map<
NiceIconCategory, int> -
Get all categories with their icon counts.
no setter
- count → int
-
Total icon count (excluding aliases).
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
byCategory(
NiceIconCategory category) → List< NiceIconMeta> - Get all icons in a category.
-
clear(
) → void - Clear all registered icons.
-
get(
String name) → NiceIconMeta? - Get icon by name or alias.
-
getIcon(
String name) → IconData - Get icon data by name (returns null icon if not found).
-
has(
String name) → bool - Check if an icon exists.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
register(
NiceIconMeta meta) → void - Register a single icon.
-
registerAll(
List< NiceIconMeta> icons) → void - Register multiple icons at once.
-
search(
String query, {int limit = 50}) → List< NiceIconSearchResult> - Search icons by query with relevance scoring.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- instance → NiceIconRegistry
-
final