5#ifndef FLUTTER_LIB_UI_TEXT_FONT_COLLECTION_H_
6#define FLUTTER_LIB_UI_TEXT_FONT_COLLECTION_H_
11#include "flutter/assets/asset_manager.h"
12#include "flutter/fml/macros.h"
13#include "flutter/fml/memory/ref_ptr.h"
31 const std::shared_ptr<AssetManager>& asset_manager);
37 const std::string& family_name);
40 std::shared_ptr<txt::FontCollection> collection_;
std::shared_ptr< txt::FontCollection > GetFontCollection() const
virtual void RegisterFonts(const std::shared_ptr< AssetManager > &asset_manager)
static void LoadFontFromList(Dart_Handle font_data_handle, Dart_Handle callback, const std::string &family_name)
void SetupDefaultFontManager(uint32_t font_initialization_data)
virtual ~FontCollection()
struct _Dart_Handle * Dart_Handle
FlKeyEvent uint64_t FlKeyResponderAsyncCallback callback