update method

void update(
  1. ComicLettering w,
  2. ComicColors c,
  3. TextDirection dir, [
  4. ComicTypeface? typeface,
])

Updates the rendered lettering, palette and reading direction.

Implementation

void update(
  ComicLettering w,
  ComicColors c,
  TextDirection dir, [
  ComicTypeface? typeface,
]) {
  _w = w;
  _c = c;
  _dir = dir;
  _typeface = typeface ?? _typeface;
  markNeedsLayout();
}