cattyinstall_platform_interface 1.0.0 copy "cattyinstall_platform_interface: ^1.0.0" to clipboard
cattyinstall_platform_interface: ^1.0.0 copied to clipboard

A common platform interface for the cattyinstall plugin.

cattyinstall_platform_interface #

A common platform interface for the cattyinstall Flutter plugin.

This package defines the abstract interface that all platform-specific implementations must follow, using the plugin_platform_interface package.

Usage #

This package is not intended for direct use by app developers. Instead, use the cattyinstall package which automatically selects the appropriate platform implementation.

To implement a new platform:

import 'package:cattyinstall_platform_interface/cattyinstall_platform_interface.dart';

class CattyinstallMyPlatform extends CattyinstallPlatform {
  static void registerWith() {
    CattyinstallPlatform.instance = CattyinstallMyPlatform();
  }

  @override
  Future<void> initialize({
    required String key,
    required String server,
    bool debug = false,
    bool useClipboard = false,
  }) async {
    // Platform-specific initialization
  }

  // ... implement other abstract methods
}

Types #

  • InstallParams - Install attribution parameters

Requirements #

  • Flutter >= 3.0.0
  • Dart >= 3.0.0
0
likes
150
points
82
downloads

Publisher

unverified uploader

Weekly Downloads

A common platform interface for the cattyinstall plugin.

Homepage

Documentation

API reference

License

MIT (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on cattyinstall_platform_interface