NiceIcons class

NiceToDev icon set — placeholder for custom icons.

Register your own icon data via NiceIcons.register. This mirrors the React NiceIconResolver pattern.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

names List<String>
Get all registered icon names.
no setter

Static Methods

has(String name) bool
Check if an icon is registered.
register(String name, IconData icon) → void
Register a custom icon by name.
registerAll(Map<String, IconData> icons) → void
Register multiple icons at once.
resolve(String name) IconData?
Resolve an icon by name. Returns null if not found.