PerformanceHudController constructor
PerformanceHudController({
- bool visibleByDefault = false,
- PerformanceHudStorage? storage,
Creates a controller that persists its state through storage.
Implementation
PerformanceHudController({
bool visibleByDefault = false,
PerformanceHudStorage? storage,
}) : _isVisible = visibleByDefault,
_storage = storage ?? SharedPreferencesHudStorage();