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
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