Flutter Engine
The Flutter Engine
|
#include <platform_data.h>
Public Member Functions | |
PlatformData () | |
~PlatformData () | |
Public Attributes | |
std::unordered_map< int64_t, ViewportMetrics > | viewport_metrics_for_views |
std::string | language_code |
std::string | country_code |
std::string | script_code |
std::string | variant_code |
std::vector< std::string > | locale_data |
std::string | user_settings_data = "{}" |
std::string | lifecycle_state |
bool | semantics_enabled = false |
bool | assistive_technology_enabled = false |
int32_t | accessibility_feature_flags_ = 0 |
std::vector< DisplayData > | displays |
The struct of platform-specific data used for initializing ui.PlatformDispatcher.
The framework may request data from ui.PlatformDispatcher before the platform is properly configured. When creating the Shell, the engine sets this struct to default values until the platform is ready to send the real data.
See also:
Definition at line 30 of file platform_data.h.
|
default |
|
default |
int32_t flutter::PlatformData::accessibility_feature_flags_ = 0 |
Definition at line 47 of file platform_data.h.
bool flutter::PlatformData::assistive_technology_enabled = false |
Definition at line 46 of file platform_data.h.
std::string flutter::PlatformData::country_code |
Definition at line 39 of file platform_data.h.
std::vector<DisplayData> flutter::PlatformData::displays |
Definition at line 48 of file platform_data.h.
std::string flutter::PlatformData::language_code |
Definition at line 38 of file platform_data.h.
std::string flutter::PlatformData::lifecycle_state |
Definition at line 44 of file platform_data.h.
std::vector<std::string> flutter::PlatformData::locale_data |
Definition at line 42 of file platform_data.h.
std::string flutter::PlatformData::script_code |
Definition at line 40 of file platform_data.h.
bool flutter::PlatformData::semantics_enabled = false |
Definition at line 45 of file platform_data.h.
std::string flutter::PlatformData::user_settings_data = "{}" |
Definition at line 43 of file platform_data.h.
std::string flutter::PlatformData::variant_code |
Definition at line 41 of file platform_data.h.
std::unordered_map<int64_t, ViewportMetrics> flutter::PlatformData::viewport_metrics_for_views |
Definition at line 36 of file platform_data.h.