computedLineNumberDecorationStyle method
Style?
computedLineNumberDecorationStyle(
- String styleKey, {
- String? lineStyleKey,
})
Implementation
Style? computedLineNumberDecorationStyle(
String styleKey, {
String? lineStyleKey,
}) {
final style = lineDecorationStyles[styleKey];
if (style == null) {
return null;
}
final lineStyle = lineStyleKey == null
? null
: lineDecorationStyles[lineStyleKey];
var resolved = style;
if (lineStyle != null) {
resolved = resolved.inherit(lineStyle);
}
return resolved.inherit(base).inline(true);
}