20 : registrar_(registrar) {
22 messenger_ = std::make_unique<BinaryMessengerImpl>(core_messenger);
39 plugins_.insert(std::move(plugin));
54PluginRegistrarManager::PluginRegistrarManager() =
default;
57void PluginRegistrarManager::OnRegistrarDestroyed(
static PluginRegistrarManager * GetInstance()
void AddPlugin(std::unique_ptr< Plugin > plugin)
TextureRegistrar * texture_registrar()
PluginRegistrar(FlutterDesktopPluginRegistrarRef core_registrar)
virtual ~PluginRegistrar()
FlutterDesktopTextureRegistrarRef FlutterDesktopRegistrarGetTextureRegistrar(FlutterDesktopPluginRegistrarRef registrar)
FlutterDesktopMessengerRef FlutterDesktopPluginRegistrarGetMessenger(FlutterDesktopPluginRegistrarRef registrar)