getCrosshairPriceText method

String? getCrosshairPriceText(
  1. double price,
  2. int fixedLength
)

Implementation

String? getCrosshairPriceText(double price, int fixedLength) {
  if (_currentDrawingPosition == null) return null;
  return price.toStringAsFixed(fixedLength);
}