instance property Null safety
The singleton for the theme.
Implementation
static SmoothTheme get instance => _instance ??= const SmoothTheme();
Setter that allows tests to override the singleton instance.
Implementation
@visibleForTesting
static set instance(SmoothTheme testInstance) => _instance = testInstance;