DecorationRenderOptions constructor
DecorationRenderOptions({
- bool? isWholeLine,
- DecorationRangeBehavior? rangeBehavior,
- OverviewRulerLane? overviewRulerLane,
- ThemableDecorationRenderOptions? light,
- ThemableDecorationRenderOptions? dark,
- Object? backgroundColor,
- String? outline,
- Object? outlineColor,
- String? outlineStyle,
- String? outlineWidth,
- String? border,
- Object? borderColor,
- String? borderRadius,
- String? borderSpacing,
- String? borderStyle,
- String? borderWidth,
- String? fontStyle,
- String? fontWeight,
- String? textDecoration,
- String? cursor,
- Object? color,
- String? opacity,
- String? letterSpacing,
- Object? gutterIconPath,
- String? gutterIconSize,
- Object? overviewRulerColor,
- ThemableDecorationAttachmentRenderOptions? before,
- ThemableDecorationAttachmentRenderOptions? after,
Implementation
factory DecorationRenderOptions({
_i2.bool? isWholeLine,
_i3.DecorationRangeBehavior? rangeBehavior,
_i3.OverviewRulerLane? overviewRulerLane,
_i3.ThemableDecorationRenderOptions? light,
_i3.ThemableDecorationRenderOptions? dark,
_i2.Object? backgroundColor,
_i2.String? outline,
_i2.Object? outlineColor,
_i2.String? outlineStyle,
_i2.String? outlineWidth,
_i2.String? border,
_i2.Object? borderColor,
_i2.String? borderRadius,
_i2.String? borderSpacing,
_i2.String? borderStyle,
_i2.String? borderWidth,
_i2.String? fontStyle,
_i2.String? fontWeight,
_i2.String? textDecoration,
_i2.String? cursor,
_i2.Object? color,
_i2.String? opacity,
_i2.String? letterSpacing,
_i2.Object? gutterIconPath,
_i2.String? gutterIconSize,
_i2.Object? overviewRulerColor,
_i3.ThemableDecorationAttachmentRenderOptions? before,
_i3.ThemableDecorationAttachmentRenderOptions? after,
}) =>
DecorationRenderOptions._(
isWholeLine: isWholeLine,
rangeBehavior: rangeBehavior?.name,
overviewRulerLane: overviewRulerLane?.name,
light: light ?? _i6.undefined,
dark: dark ?? _i6.undefined,
backgroundColor: backgroundColor ?? _i6.undefined,
outline: outline,
outlineColor: outlineColor ?? _i6.undefined,
outlineStyle: outlineStyle,
outlineWidth: outlineWidth,
border: border,
borderColor: borderColor ?? _i6.undefined,
borderRadius: borderRadius,
borderSpacing: borderSpacing,
borderStyle: borderStyle,
borderWidth: borderWidth,
fontStyle: fontStyle,
fontWeight: fontWeight,
textDecoration: textDecoration,
cursor: cursor,
color: color ?? _i6.undefined,
opacity: opacity,
letterSpacing: letterSpacing,
gutterIconPath: gutterIconPath ?? _i6.undefined,
gutterIconSize: gutterIconSize,
overviewRulerColor: overviewRulerColor ?? _i6.undefined,
before: before ?? _i6.undefined,
after: after ?? _i6.undefined,
);