Flutter Engine
FlutterLocale Struct Reference

#include <embedder.h>

Public Attributes

size_t struct_size
 This size of this struct. Must be sizeof(FlutterLocale). More...
 
const char * language_code
 
const char * country_code
 
const char * script_code
 
const char * variant_code
 

Detailed Description

Definition at line 942 of file embedder.h.

Member Data Documentation

◆ country_code

const char* FlutterLocale::country_code

The country code of the locale. For example, "US". This is a an optional field. The string must be null terminated if present. It may be collected after the call to FlutterEngineUpdateLocales. If not present, a nullptr may be specified.

Definition at line 953 of file embedder.h.

Referenced by FlutterLocaleFromNSLocale(), setup_locales(), and flutter::testing::TEST_F().

◆ language_code

const char* FlutterLocale::language_code

The language code of the locale. For example, "en". This is a required field. The string must be null terminated. It may be collected after the call to FlutterEngineUpdateLocales.

Definition at line 948 of file embedder.h.

Referenced by FlutterLocaleFromNSLocale(), setup_locales(), and flutter::testing::TEST_F().

◆ script_code

const char* FlutterLocale::script_code

The script code of the locale. This is a an optional field. The string must be null terminated if present. It may be collected after the call to FlutterEngineUpdateLocales. If not present, a nullptr may be specified.

Definition at line 958 of file embedder.h.

Referenced by FlutterLocaleFromNSLocale(), setup_locales(), and flutter::testing::TEST_F().

◆ struct_size

size_t FlutterLocale::struct_size

This size of this struct. Must be sizeof(FlutterLocale).

Definition at line 944 of file embedder.h.

Referenced by FlutterLocaleFromNSLocale(), setup_locales(), and flutter::testing::TEST_F().

◆ variant_code

const char* FlutterLocale::variant_code

The variant code of the locale. This is a an optional field. The string must be null terminated if present. It may be collected after the call to FlutterEngineUpdateLocales. If not present, a nullptr may be specified.

Definition at line 963 of file embedder.h.

Referenced by FlutterLocaleFromNSLocale(), setup_locales(), and flutter::testing::TEST_F().


The documentation for this struct was generated from the following file: