XIcons class

XIcons is a remote icon repository. this is used for validations and injecting custom parser etc..

Constructors

XIcons()

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 Methods

fetchIcon(String uri, {XIconType? type}) IconData
fetchMappingByNamespace(String namespace) Map<String, IconData>
fetches the icons mapping by namespace
hasNamespace(String namespace) bool
check if current XIcons contains the mapping of provided namespace
register(String namespace, Map<String, IconData> mapping) → dynamic
register icon mapping with namespace
validate(String uri, {bool dry = false}) → dynamic
validates if uri is available for usage/ if dry == true, it validates through logic and check if it will work or not. running validate with dry == false will actually create the widget, runs a full validation