setPseudoStyle method

void setPseudoStyle(
  1. String type,
  2. String property,
  3. String value, {
  4. String? baseHref,
  5. bool fromNative = false,
})

Implementation

void setPseudoStyle(String type, String property, String value,
    {String? baseHref, bool fromNative = false}) {
  final bool enableBlink = ownerDocument.ownerView.enableBlink;
  final bool validate = !(fromNative && enableBlink);
  style.setPseudoProperty(type, property, value,
      baseHref: baseHref, validate: validate);
}