Flutter Engine
The Flutter Engine
|
Static Public Member Functions | |
static FlutterActivity | createFlutterActivity (@NonNull Intent intent) |
static FlutterActivityLaunchConfigs.BackgroundMode | getBackgroundMode ( @NonNull FlutterActivity activity) |
Creates a FlutterActivity
for use by test code that do not sit within the
package, and offers public access to some package private properties of
io.flutter.embedding.androidFlutterActivity
for testing purposes.
Definition at line 13 of file RobolectricFlutterActivity.java.
|
inlinestatic |
Creates a FlutterActivity
that is controlled by Robolectric, which otherwise can not be done in a test outside of the io.flutter.embedding.android package.
Definition at line 19 of file RobolectricFlutterActivity.java.
|
inlinestatic |
Returns a given FlutterActivity
's BackgroundMode
for use by tests that do not sit in the io.flutter.embedding.android
package.
Definition at line 32 of file RobolectricFlutterActivity.java.