registerClient method

TimeControllerClientRegistration registerClient(
  1. double height
)

Implementation

TimeControllerClientRegistration registerClient(double height) {
  assert(height > 0);
  assert(height.isFinite);

  final client = TimeControllerClientRegistration._(
    this,
    _nextClientId++,
    height: height,
  );
  _clients.add(client);
  _notifyClientHeightsChanged();
  return client;
}