Flutter Engine
The Flutter Engine
|
Public Member Functions | |
FlutterView | getFlutterView () |
Interface for those objects that maintain and expose a reference to a FlutterView
(such as a full-screen Flutter activity).
This indirection is provided to support applications that use an activity other than io.flutter.app.FlutterActivity
(e.g. Android v4 support library's FragmentActivity
). It allows Flutter plugins to deal in this interface and not require that the activity be a subclass of FlutterActivity
.
Definition at line 96 of file FlutterView.java.
FlutterView io.flutter.view.FlutterView.Provider.getFlutterView | ( | ) |
Returns a reference to the Flutter view maintained by this object. This may be null
.
Implemented in io.flutter.app.FlutterActivity, io.flutter.app.FlutterActivityDelegate, and io.flutter.app.FlutterFragmentActivity.