StyleToStr static method

String StyleToStr(
  1. TBrushStyle style, [
  2. TLocale? locale
])

Implementation

static String StyleToStr(TBrushStyle style, [TLocale? locale]) =>
    TLocaleSet.ValueByIdent(BrushStyles._items, style, locale) ?? style.name;