toString method Null safety

  1. @override
String toString ()
override

Returns a string representation of this object.

Implementation

@override
String toString() {
  return 'FractionalOffset(${dx.toStringAsFixed(1)}, '
                          '${dy.toStringAsFixed(1)})';
}