MethodChannelPopscopeIos class

使用 Method Channel 实现的 PopscopeIosPlatform

该类负责与 iOS 原生端通信,接收左滑返回手势事件并处理。

Inheritance

Constructors

MethodChannelPopscopeIos()

Properties

hashCode int
The hash code for this object.
no setterinherited
methodChannel MethodChannel
用于与原生平台交互的 Method Channel
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getPlatformVersion() Future<String?>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
registerPopGestureCallback(VoidCallback callback, BuildContext context) → void
注册系统返回手势的回调
override
setNavigatorKey(GlobalKey<NavigatorState>? navigatorKey, {bool autoHandle = true}) → void
设置 Navigator key 以支持自动导航处理
override
setOnSystemBackGesture(VoidCallback? callback) → void
设置系统返回手势的回调
override
toString() String
A string representation of this object.
inherited
unregisterPopGestureCallback(BuildContext context) → void
注销系统返回手势的回调
override

Operators

operator ==(Object other) bool
The equality operator.
inherited