MethodChannelCupertinoNative class
Method channel implementation of CupertinoNativePlatform.
This class communicates with native iOS/macOS code through Flutter's method channel system. It serves as the bridge between Dart and native code for widget configuration and platform queries.
Method Channel Details
Channel name: cupertino_native
Available methods:
getPlatformVersion: Returns the native platform version string- Other methods for widget-specific configuration (handled per-widget)
Communication Pattern
- Dart calls async method on channel
- Native handler receives and processes
- Result is returned back to Dart
- Exceptions propagate through PlatformException
- Inheritance
-
- Object
- PlatformInterface
- CupertinoNativePlatform
- MethodChannelCupertinoNative
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- methodChannel → MethodChannel
-
The method channel used to interact with the native platform.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
getPlatformVersion(
) → Future< String?> -
See CupertinoNativePlatform.getPlatformVersion.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited