InspectCSSModule class

Inheritance

Constructors

InspectCSSModule(DevToolsService devtoolsService)

Properties

context → DebuggingContext?
Get the debugging context if available
no setterinherited
controller WebFController?
Legacy controller access for backward compatibility
no setterinherited
dbgContext → DebuggingContext?
no setter
devtoolsService DevToolsService
finalinherited
document Document?
no setter
hashCode int
The hash code for this object.
no setterinherited
isEnabled bool
no setterinherited
name String
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

handleAddRule(int? id, Map<String, dynamic> params) → void
handleCollectClassNames(int? id, Map<String, dynamic> params) → void
handleCreateStyleSheet(int? id, Map<String, dynamic> params) → void
https://chromedevtools.github.io/devtools-protocol/tot/CSS/#method-createStyleSheet Creates a new via-inspector stylesheet and attaches it to the document (preferably ). Returns a StyleSheetId which we encode as "inline:
handleForcePseudoState(int? id, Map<String, dynamic> params) → void
https://chromedevtools.github.io/devtools-protocol/tot/CSS/#method-forcePseudoState Enables or disables forcing certain pseudo classes for the given node. Params: { nodeId:
handleGetBackgroundColors(int? id, Map<String, dynamic> params) → void
handleGetComputedStyleForNode(int? id, Map<String, dynamic> params) → void
handleGetInlineStylesForNode(int? id, Map<String, dynamic> params) → void
handleGetMatchedStylesForNode(int? id, Map<String, dynamic> params) → void
handleResolveValues(int? id, Map<String, dynamic> params) → void
Resolves a list of CSS property values in the context of a node's render style. Params:
handleSetEffectivePropertyValueForNode(int? id, Map<String, dynamic> params) → void
handleSetStyleSheetText(int? id, Map<String, dynamic> params) → void
handleSetStyleTexts(int? id, Map<String, dynamic> params) → void
invoke(int? id, String method, Map<String, dynamic>? params) → void
inherited
markComputedStyleDirtyByNodeId(int nodeId) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onContextChanged() → void
Called when the debugging context changes (e.g., when switching controllers) Subclasses can override this to reinitialize their state
inherited
onDisabled() → void
inherited
onEnabled() → void
inherited
receiveFromFrontend(int? id, String method, Map<String, dynamic>? params) → void
sendEventToFrontend(InspectorEvent event) → void
inherited
sendToFrontend(int? id, JSONEncodable? result) → void
inherited
setEnabled(bool enabled) → void
inherited
toString() String
A string representation of this object.
inherited

Operators

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