instance property

TsdtechUiConfig get instance

The singleton instance. Throws if initialize has not been called yet.

Implementation

static TsdtechUiConfig get instance {
  assert(
    _instance != null,
    'TsdtechUiConfig has not been initialized. '
    'Call TsdtechUiConfig.initialize() before using any TSDTech UI widgets.',
  );
  return _instance!;
}