Package io.flutter.view
Interface FlutterView.Provider
-
- All Known Implementing Classes:
FlutterActivity
,FlutterActivityDelegate
,FlutterFragmentActivity
- Enclosing class:
- FlutterView
public static interface FlutterView.Provider
Interface for those objects that maintain and expose a reference to aFlutterView
(such as a full-screen Flutter activity).This indirection is provided to support applications that use an activity other than
FlutterActivity
(e.g. Android v4 support library'sFragmentActivity
). It allows Flutter plugins to deal in this interface and not require that the activity be a subclass ofFlutterActivity
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description FlutterView
getFlutterView()
Returns a reference to the Flutter view maintained by this object.
-
-
-
Method Detail
-
getFlutterView
FlutterView getFlutterView()
Returns a reference to the Flutter view maintained by this object. This may benull
.- Returns:
- a reference to the Flutter view maintained by this object.
-
-