win32 1.2.4 win32: ^1.2.4 copied to clipboard
A Dart library for accessing common Win32 APIs using FFI. No C required!
The package includes several examples in the example
subdirectory:
Example | Description |
---|---|
hello.dart |
Basic Petzoldian "hello world" Win32 app |
paint.dart |
Demonstrates simple GDI drawing and min/max window sizing |
scroll.dart |
Example of horizontal and vertical scrolling text window |
console.dart |
Shows usage of console APIs |
msgbox.dart |
Demonstrates a MessageBox from the console |
sendinput.dart |
Sends keyboard and mouse input to another window |
knownfolder.dart |
Shows usage of shell APIs to retrieve user's home dir |
devices.dart |
Uses volume management APIs to list all disk devices |
tetris\main.dart |
Port of an open-source Tetris game to Dart |
The Tetris example listed above is a fuller worked example of a reasonably complete program that uses the Dart Win32 package. It is a port of a C version of the game by Chang-Hung Liang. More information...