Flutter Engine
The Flutter Engine
Public Attributes | List of all members
flutter_runner::ProgramMetadata Struct Reference

#include <program_metadata.h>

Public Attributes

std::string data_path = ""
 
std::string assets_path = ""
 
std::optional< int64_t > old_gen_heap_size = std::nullopt
 The preferred heap size for the Flutter component in megabytes. More...
 
std::vector< std::string > expose_dirs
 A list of additional directories that we will expose in out/. More...
 

Detailed Description

The metadata that can be passed by a Flutter component via the program field.

Definition at line 15 of file program_metadata.h.

Member Data Documentation

◆ assets_path

std::string flutter_runner::ProgramMetadata::assets_path = ""

The path where assets for the Flutter component should be stored.

TODO(fxb/89246): No components appear to be using this field. We may be able to get rid of this.

Definition at line 25 of file program_metadata.h.

◆ data_path

std::string flutter_runner::ProgramMetadata::data_path = ""

The path where data for the Flutter component should be stored.

Definition at line 18 of file program_metadata.h.

◆ expose_dirs

std::vector<std::string> flutter_runner::ProgramMetadata::expose_dirs

A list of additional directories that we will expose in out/.

Definition at line 31 of file program_metadata.h.

◆ old_gen_heap_size

std::optional<int64_t> flutter_runner::ProgramMetadata::old_gen_heap_size = std::nullopt

The preferred heap size for the Flutter component in megabytes.

Definition at line 28 of file program_metadata.h.


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