ThemableDecorationAttachmentRenderOptions constructor

ThemableDecorationAttachmentRenderOptions({
  1. String? contentText,
  2. Object? contentIconPath,
  3. String? border,
  4. Object? borderColor,
  5. String? fontStyle,
  6. String? fontWeight,
  7. String? textDecoration,
  8. Object? color,
  9. Object? backgroundColor,
  10. String? margin,
  11. String? width,
  12. String? height,
})

Implementation

factory ThemableDecorationAttachmentRenderOptions({
  _i2.String? contentText,
  _i2.Object? contentIconPath,
  _i2.String? border,
  _i2.Object? borderColor,
  _i2.String? fontStyle,
  _i2.String? fontWeight,
  _i2.String? textDecoration,
  _i2.Object? color,
  _i2.Object? backgroundColor,
  _i2.String? margin,
  _i2.String? width,
  _i2.String? height,
}) =>
    ThemableDecorationAttachmentRenderOptions._(
      contentText: contentText,
      contentIconPath: contentIconPath ?? _i6.undefined,
      border: border,
      borderColor: borderColor ?? _i6.undefined,
      fontStyle: fontStyle,
      fontWeight: fontWeight,
      textDecoration: textDecoration,
      color: color ?? _i6.undefined,
      backgroundColor: backgroundColor ?? _i6.undefined,
      margin: margin,
      width: width,
      height: height,
    );