standalone library
Native system APIs and the experimental event loop for plain Dart apps.
Re-exports package:nativeapi/nativeapi.dart and adds runNativeApp.
The runner requires experimental VM APIs available in Dart 3.13 and is not
supported on Dart 3.14, where those APIs were removed.
Use package:nativeapi/nativeapi.dart for the ordinary API, or
package:nativeapi_flutter/nativeapi_flutter.dart in Flutter apps. Those
entrypoints do not import the experimental runner.
Classes
- AccessibilityManager
- AppInfo
- Application
- ApplicationActivatedEvent
- ApplicationDeactivatedEvent
- ApplicationEvent
-
One
ApplicationEvent, in its concrete form. - ApplicationExitingEvent
- ApplicationQuitRequestedEvent
- ApplicationStartedEvent
- Button
- ButtonClickedEvent
- Clipboard
- ClipboardChangedEvent
- ClipboardData
- ClipboardEvent
-
One
ClipboardEvent, in its concrete form. - Color
- DeviceInfo
- Display
- DisplayAddedEvent
- DisplayChangedEvent
- DisplayEvent
-
One
DisplayEvent, in its concrete form. - DisplayManager
- DisplayRemovedEvent
- DragSource
- DragSourceEndedEvent
- DragSourceEvent
-
One
DragSourceEvent, in its concrete form. - DropTarget
- DropTargetDroppedEvent
- DropTargetEnteredEvent
- DropTargetEvent
-
One
DropTargetEvent, in its concrete form. - DropTargetExitedEvent
- DropTargetMovedEvent
- EdgeInsets
- EventDecision
- EventRequest
- FileDialog
- Image
- ImageView
- KeyboardAccelerator
- KeyboardEvent
-
One
KeyboardEvent, in its concrete form. - KeyboardMonitor
- KeyPressedEvent
- KeyReleasedEvent
- Label
- LaunchAtLogin
- Menu
- MenuClosedEvent
- MenuEvent
-
One
MenuEvent, in its concrete form. - MenuItem
- MenuItemClickedEvent
- MenuOpenedEvent
- MessageDialog
- ModifierKeysChangedEvent
- NotificationActivatedEvent
- NotificationEvent
-
One
NotificationEvent, in its concrete form. - NotificationManager
- Point
- PositioningStrategy
- Preferences
- ProtocolHandler
- ProtocolHandlerEvent
-
One
ProtocolHandlerEvent, in its concrete form. - ProtocolUrlReceivedEvent
- Rectangle
- SecureStorage
- Shortcut
- ShortcutActivatedEvent
- ShortcutEvent
-
One
ShortcutEvent, in its concrete form. - ShortcutManager
- ShortcutOptions
- ShortcutRegisteredEvent
- ShortcutRegistrationFailedEvent
- ShortcutReleasedEvent
- ShortcutUnregisteredEvent
- Size
- TextField
- TextFieldChangedEvent
- TextFieldSubmittedEvent
- TrayIcon
- TrayIconClickedEvent
- TrayIconDoubleClickedEvent
- TrayIconEvent
-
One
TrayIconEvent, in its concrete form. - TrayIconRightClickedEvent
- TrayManager
- UrlOpener
- UrlOpenResult
- View
- ViewBlurredEvent
- ViewEvent
-
One
ViewEvent, in its concrete form. - ViewFocusedEvent
- ViewUpdatingEvent
- Window
- WindowBlurredEvent
- WindowClosedEvent
- WindowCloseRequestedEvent
- WindowCreatedEvent
- WindowDockedEvent
- WindowDragCancelledEvent
- WindowDragEndedEvent
- WindowDragEvent
-
One
WindowDragEvent, in its concrete form. - WindowDragMovedEvent
- WindowDragSession
- WindowEnteredFullScreenEvent
- WindowEvent
-
One
WindowEvent, in its concrete form. - WindowExitedFullScreenEvent
- WindowFocusedEvent
- WindowManager
- WindowMaximizedEvent
- WindowMinimizedEvent
- WindowMovedEvent
- WindowOcclusionChangedEvent
- WindowPropertyChangedEvent
- WindowResizedEvent
- WindowRestoredEvent
- WindowShadow
- WindowShape
- WindowUndockedEvent
Enums
- Brightness
- ContextMenuTrigger
- DialogModality
- DisplayOrientation
- DragOperation
- FileDialogMode
- FileDialogResult
- MenuBackend
- MenuItemState
- MenuItemType
- MessageDialogResult
- ModifierKey
- Placement
- PositioningStrategyType
- ResizeEdge
- ShortcutScope
- TextAlignment
- TitleBarStyle
- TrayIconPosition
- UrlOpenErrorCode
- ViewAlignment
- ViewBackend
- ViewLayout
- VisualEffect
- WindowCornerPreference
- WindowDockSide
- WindowOcclusionState
- WindowProperty
Functions
-
runNativeApp(
void main()) → void -
Runs a desktop app from a plain Dart program (
dart run), without Flutter.
Typedefs
- DisplayId = int
- ListenerId = int
- Identifies one registered event listener.
- MenuId = int
- MenuItemId = int
- ShortcutId = int
- TrayIconId = int
- ViewId = int
- WindowId = int
- WindowNumber = int