mirror of
https://github.com/rustdesk/rustdesk.git
synced 2024-11-27 23:19:02 +08:00
17 lines
349 B
Dart
17 lines
349 B
Dart
import 'package:flutter/material.dart';
|
|
|
|
class PluginUiManager {
|
|
PluginUiManager._();
|
|
|
|
static PluginUiManager instance = PluginUiManager._();
|
|
|
|
Map<String, Widget> entries = <String, Widget>{};
|
|
|
|
void registerEntry(String key, Widget widget) {
|
|
entries[key] = widget;
|
|
}
|
|
|
|
void unregisterEntry(String key) {
|
|
entries.remove(key);
|
|
}
|
|
} |