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