#include <flutter_windows_engine_builder.h>
◆ FlutterWindowsEngineBuilder()
flutter::testing::FlutterWindowsEngineBuilder::FlutterWindowsEngineBuilder |
( |
WindowsTestContext & |
context | ) |
|
|
explicit |
◆ ~FlutterWindowsEngineBuilder()
flutter::testing::FlutterWindowsEngineBuilder::~FlutterWindowsEngineBuilder |
( |
| ) |
|
|
default |
◆ AddDartEntrypointArgument()
void flutter::testing::FlutterWindowsEngineBuilder::AddDartEntrypointArgument |
( |
std::string |
arg | ) |
|
◆ Build()
Definition at line 84 of file flutter_windows_engine_builder.cc.
84 {
85 std::vector<const char*> dart_args;
86 dart_args.reserve(dart_entrypoint_arguments_.size());
87
88 for (const auto& arg : dart_entrypoint_arguments_) {
89 dart_args.push_back(arg.c_str());
90 }
91
92 if (!dart_args.empty()) {
95 } else {
98 }
99
100 FlutterProjectBundle project(properties_);
101 project.SetSwitches(switches_);
102
103 return std::make_unique<TestFlutterWindowsEngine>(
104 project, get_key_state_, map_vk_to_scan_, std::move(windows_proc_table_));
105}
const char ** dart_entrypoint_argv
◆ SetCreateKeyboardHandlerCallbacks()
◆ SetDartEntrypoint()
void flutter::testing::FlutterWindowsEngineBuilder::SetDartEntrypoint |
( |
std::string |
entrypoint | ) |
|
◆ SetSwitches()
void flutter::testing::FlutterWindowsEngineBuilder::SetSwitches |
( |
std::vector< std::string > |
switches | ) |
|
◆ SetWindowsProcTable()
void flutter::testing::FlutterWindowsEngineBuilder::SetWindowsProcTable |
( |
std::shared_ptr< WindowsProcTable > |
windows_proc_table | ) |
|
The documentation for this class was generated from the following files: