offsetToString function

String offsetToString(
  1. Offset offset, {
  2. int fractionDigits = 3,
})

Implementation

String offsetToString(Offset offset, { int fractionDigits = 3 }) {
  return 'Offset(${offset.dx.toStringAsFixed(fractionDigits)}, ${offset.dy.toStringAsFixed(fractionDigits)})';
}