CSSInjection class

Constructors

CSSInjection({required InjectionTarget target, String? css, List<String>? files, StyleOrigin? origin})
CSSInjection.fromJS(CSSInjection _wrapped)

Properties

css ↔ String?
A string containing the CSS to inject. Exactly one of files and css must be specified.
getter/setter pair
files ↔ List<String>?
The path of the CSS files to inject, relative to the extension's root directory. Exactly one of files and css must be specified.
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
origin ↔ StyleOrigin?
The style origin for the injection. Defaults to 'AUTHOR'.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
target ↔ InjectionTarget
Details specifying the target into which to insert the CSS.
getter/setter pair
toJS → CSSInjection
no setter

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