CupertinoNativePlatform class abstract

Platform interface for Cupertino Native Extra plugin.

This abstract class defines the interface that platform-specific implementations (iOS, macOS) must extend to provide native widget functionality.

Implementation Details

Platform implementations should:

  1. Extend this class
  2. Register themselves during plugin initialization
  3. Override all abstract methods
  4. Handle platform-specific native code integration

The default implementation uses method channels to communicate with native code through MethodChannelCupertinoNative.

Inheritance
  • Object
  • PlatformInterface
  • CupertinoNativePlatform
Implementers

Constructors

CupertinoNativePlatform()
Constructs a CupertinoNativePlatform.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getPlatformVersion() Future<String?>
Retrieves a user-visible platform version string from the host platform.
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

Static Properties

instance CupertinoNativePlatform
The default instance of CupertinoNativePlatform to use.
getter/setter pair