Flutter Engine
The Flutter Engine
Public Attributes | List of all members
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 1935 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 1946 of file embedder.h.

◆ 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 1941 of file embedder.h.

◆ 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 1951 of file embedder.h.

◆ struct_size

size_t FlutterLocale::struct_size

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

Definition at line 1937 of file embedder.h.

◆ 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 1956 of file embedder.h.


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