comicFieldListWords function

double comicFieldListWords(
  1. ComicThemeData t, [
  2. ComicStyle? style
])

Where a row's words start inside a list that opens from a field : on the field's words, less the frame's rim and the 4 its rows stand in. Never under 6.

Implementation

double comicFieldListWords(ComicThemeData t, [ComicStyle? style]) {
  final look = comicStyleOf([style, t.menuTheme], const {});
  final inset = comicRim(t, look, t.colors.nightLine, 3).width + 4;
  return math.max(6.0, comicFieldInset(t).start - inset);
}