lifecycle_guard_platform_interface 0.0.1 copy "lifecycle_guard_platform_interface: ^0.0.1" to clipboard
lifecycle_guard_platform_interface: ^0.0.1 copied to clipboard

Platform interface for lifecycle_guard - defines the contract for background execution.

lifecycle_guard_platform_interface #

The platform interface package for lifecycle_guard.

This package defines the abstract LifecycleGuardPlatform class that all platform-specific implementations must extend. This enables the federated plugin pattern used by the Flutter team.

Usage #

This package is not intended to be imported directly by end users. Import package:lifecycle_guard/lifecycle_guard.dart instead.

If you're building a platform implementation, implement LifecycleGuardPlatform:

class MyPlatformLifecycleGuard extends LifecycleGuardPlatform {
  @override
  Future<void> startBackgroundSync(String taskId, Map<String, dynamic> data) async {
    // Platform-specific implementation
  }
}

Repository #

github.com/Crealify/lifecycle_guard

5
likes
0
points
178
downloads

Publisher

unverified uploader

Weekly Downloads

Platform interface for lifecycle_guard - defines the contract for background execution.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on lifecycle_guard_platform_interface