Package io.flutter.plugin.platform
Interface PlatformPlugin.PlatformPluginDelegate
-
- All Known Implementing Classes:
FlutterActivity,FlutterFragment
- Enclosing class:
- PlatformPlugin
public static interface PlatformPlugin.PlatformPluginDelegateThePlatformPlugingenerally has default behaviors implemented for platform functionalities requested by the Flutter framework. However, functionalities exposed through this interface could be customized by the more public-facing APIs that implement this interface such as theFlutterActivityor theFlutterFragment.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanpopSystemNavigator()Allow implementer to customize the behavior needed when the Flutter framework calls to pop the Android-side navigation stack.
-
-
-
Method Detail
-
popSystemNavigator
boolean popSystemNavigator()
Allow implementer to customize the behavior needed when the Flutter framework calls to pop the Android-side navigation stack.- Returns:
- true if the implementation consumed the pop signal. If false, a default behavior of
finishing the activity or sending the signal to
OnBackPressedDispatcherwill be executed.
-
-