WebIcon class

Icon representation for favicons, touch icons, and web manifests.

Constructors

WebIcon({required String href, String rel = 'icon', String? type, String? sizes})
const
WebIcon.appleTouchIcon(String href, {String? sizes})
factory
WebIcon.favicon(String href)
factory
WebIcon.fromJson(Map<String, Object?> json)
factory
WebIcon.manifest(String href)
factory
WebIcon.png(String href, {String? sizes})
factory
WebIcon.svg(String href)
factory

Properties

hashCode → int
The hash code for this object.
no setteroverride
href → String
final
rel → String
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sizes → String?
final
type → String?
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, Object?>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
override