AppLauncher class abstract

Abstract base class for platform-specific launch-at-login implementations.

Subclasses implement the platform-specific mechanisms (e.g. macOS LaunchAtLogin-Modern / SMAppService, Windows Registry, etc.).

Implementers

Constructors

AppLauncher({required String appName, required String appPath, List<String> args = const []})
Creates an AppLauncher instance.
const

Properties

appName → String
The name of the application.
final
appPath → String
The file path to the application executable or bundle.
final
args → List<String>
Optional command-line arguments passed when the application starts at login.
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

isEnabled() → Future<bool>
Checks whether the application is currently configured to open at login.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setEnabled(bool enabled) → Future<void>
Enables or disables launching the application at login.
toString() → String
A string representation of this object.
inherited

Operators

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