Application class

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

addListener(FutureOr<void> callback(ApplicationEvent)) → ListenerId
Registers callback for every ApplicationEvent this Application emits.
getAllWindows() → List<Window>
getPrimaryWindow() → Window?
getSystemBrightness() → Brightness
hide() → bool
isRunning() → bool
isSingleInstance() → bool
isVisible() → bool
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
quit(int exitCode) → void
removeListener(ListenerId listenerId) → bool
Unregisters a listener. Returns false if unknown.
run() → int
runWithWindow(Window? window) → int
setBadgeLabel(String label) → bool
setBrightness(Brightness brightness) → bool
setDockIconVisible(bool visible) → bool
setIcon(String iconPath) → bool
setMenuBar(Menu? menu) → bool
setPrimaryWindow(Window? window) → void
setProgressBar(double progress) → bool
show() → bool
toString() → String
A string representation of this object.
inherited

Operators

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

Constants

instance → const Application
The shared instance backed by the native singleton.