Flutter Engine
The Flutter Engine
FlutterEngine+ScenariosTest.h
Go to the documentation of this file.
1// Copyright 2019 The Chromium Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#ifndef FLUTTER_TESTING_SCENARIO_APP_IOS_SCENARIOS_SCENARIOS_FLUTTERENGINE_SCENARIOSTEST_H_
6#define FLUTTER_TESTING_SCENARIO_APP_IOS_SCENARIOS_SCENARIOS_FLUTTERENGINE_SCENARIOSTEST_H_
7
8#import <Flutter/Flutter.h>
9
12- (instancetype)initWithScenario:(NSString*)scenario
13 withCompletion:(nullable void (^)(void))engineRunCompletion;
14- (FlutterEngine*)spawnWithEntrypoint:(nullable NSString*)entrypoint
15 libraryURI:(nullable NSString*)libraryURI
16 initialRoute:(nullable NSString*)initialRoute
17 entrypointArgs:(nullable NSArray<NSString*>*)entrypointArgs;
18@end
20
21#endif // FLUTTER_TESTING_SCENARIO_APP_IOS_SCENARIOS_SCENARIOS_FLUTTERENGINE_SCENARIOSTEST_H_
#define NS_ASSUME_NONNULL_BEGIN
Definition: FlutterMacros.h:19
#define NS_ASSUME_NONNULL_END
Definition: FlutterMacros.h:20