pos static method

String pos({
  1. required int displayOffset,
  2. required double scrollFraction,
  3. required int historySize,
})

Implementation

static String pos({
  required int displayOffset,
  required double scrollFraction,
  required int historySize,
}) =>
    'off=$displayOffset frac=${scrollFraction.toStringAsFixed(3)} '
    'pos=${(displayOffset + scrollFraction).toStringAsFixed(3)} hist=$historySize';