CSSLinkHtmlTagAttributes class Null safety

Class that represents the possible CSS stylesheet <link> HTML attributes to be set used by InAppWebViewController.injectCSSFileFromUrl.

Constructors

CSSLinkHtmlTagAttributes({String? id, String? media, CrossOrigin? crossOrigin, String? integrity, ReferrerPolicy? referrerPolicy, bool? disabled, bool? alternate, String? title})

Properties

alternate bool?
Specify alternative style sheets.
read / write
crossOrigin CrossOrigin?
Normal script elements pass minimal information to the window.onerror for scripts which do not pass the standard CORS checks. To allow error logging for sites which use a separate domain for static media, use this attribute.
read / write
disabled bool?
The disabled Boolean attribute indicates whether or not the described stylesheet should be loaded and applied to the document. If disabled is specified in the HTML when it is loaded, the stylesheet will not be loaded during page load. Instead, the stylesheet will be loaded on-demand, if and when the disabled attribute is changed to false or removed. [...]
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
id String?
The HTML id attribute is used to specify a unique id for the <link> HTML element.
read / write
integrity String?
This attribute contains inline metadata that a user agent can use to verify that a fetched resource has been delivered free of unexpected manipulation.
read / write
media String?
This attribute specifies the media that the linked resource applies to. Its value must be a media type / media query. This attribute is mainly useful when linking to external stylesheets — it allows the user agent to pick the best adapted one for the device it runs on.
read / write
referrerPolicy ReferrerPolicy?
Indicates which referrer to send when fetching the script, or resources fetched by the script.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
title String?
The title attribute has special semantics on the <link> element. When used on a <link rel="stylesheet"> it defines a preferred or an alternate stylesheet. Incorrectly using it may cause the stylesheet to be ignored.
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() Map<String, dynamic>
toMap() Map<String, dynamic>
toString() String
A string representation of this object. [...]
override

Operators

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