#include <dart_project.h>
Definition at line 14 of file dart_project.h.
◆ DartProject() [1/2]
flutter::DartProject::DartProject |
( |
const std::wstring & |
assets_path, |
|
|
const std::wstring & |
icu_data_path, |
|
|
const std::wstring & |
aot_library_path |
|
) |
| |
|
inlineexplicit |
Definition at line 24 of file dart_project.h.
26 {
27 assets_path_ = assets_path;
28 icu_data_path_ = icu_data_path;
29 aot_library_path_ = aot_library_path;
30 }
◆ DartProject() [2/2]
flutter::DartProject::DartProject |
( |
const std::wstring & |
path | ) |
|
|
inlineexplicit |
Definition at line 40 of file dart_project.h.
40 {
41 assets_path_ =
path +
L"\\flutter_assets";
42 icu_data_path_ =
path +
L"\\icudtl.dat";
43 aot_library_path_ =
path +
L"\\app.so";
44 }
DEF_SWITCHES_START aot vmservice shared library Name of the *so containing AOT compiled Dart assets for launching the service isolate vm snapshot The VM snapshot data that will be memory mapped as read only SnapshotAssetPath must be present isolate snapshot The isolate snapshot data that will be memory mapped as read only SnapshotAssetPath must be present cache dir path
◆ ~DartProject()
flutter::DartProject::~DartProject |
( |
| ) |
|
|
default |
◆ dart_entrypoint()
const std::string & flutter::DartProject::dart_entrypoint |
( |
| ) |
const |
|
inline |
◆ dart_entrypoint_arguments()
const std::vector< std::string > & flutter::DartProject::dart_entrypoint_arguments |
( |
| ) |
const |
|
inline |
Definition at line 70 of file dart_project.h.
70 {
71 return dart_entrypoint_arguments_;
72 }
◆ set_dart_entrypoint()
void flutter::DartProject::set_dart_entrypoint |
( |
const std::string & |
entrypoint | ) |
|
|
inline |
Definition at line 52 of file dart_project.h.
52 {
53 if (entrypoint.empty()) {
54 return;
55 }
56 dart_entrypoint_ = entrypoint;
57 }
◆ set_dart_entrypoint_arguments()
void flutter::DartProject::set_dart_entrypoint_arguments |
( |
std::vector< std::string > |
arguments | ) |
|
|
inline |
Definition at line 64 of file dart_project.h.
64 {
65 dart_entrypoint_arguments_ = std::move(arguments);
66 }
◆ DartProjectTest
◆ FlutterEngine
◆ FlutterViewController
The documentation for this class was generated from the following file: