Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ documentation, and more).

### βš™οΈ Requirements

- [Dart](https://dart.dev) version `3.11` or higher
- [Dart](https://dart.dev) version `3.10` or higher
- [git-cliff](https://git-cliff.org) for generating changelogs
- [Lefthook](https://github.com/evilmartians/lefthook) for managing Git hooks

Expand Down
5 changes: 4 additions & 1 deletion examples/dartnote/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,14 @@ name: dartnote
publish_to: none

environment:
sdk: ^3.11.0
sdk: ^3.10.0

resolution: workspace

dependencies:
ffi: ^2.2.0
ffi_leak_tracker: ^0.1.0
win32: ^6.0.0

dev_dependencies:
halildurmus_lints: ^1.1.0
4 changes: 2 additions & 2 deletions examples/explorer/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: win32_explorer
publish_to: none

environment:
sdk: ^3.11.0
sdk: ^3.10.0

resolution: workspace

Expand All @@ -20,7 +20,7 @@ dependencies:
win32: ^6.0.0

dev_dependencies:
halildurmus_lints: ^2.0.0
halildurmus_lints: ^1.1.0

flutter:
uses-material-design: true
5 changes: 4 additions & 1 deletion examples/manifest/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,13 @@ name: manifest
publish_to: none

environment:
sdk: ^3.11.0
sdk: ^3.10.0

resolution: workspace

dependencies:
ffi: ^2.2.0
win32: ^6.0.0

dev_dependencies:
halildurmus_lints: ^1.1.0
4 changes: 2 additions & 2 deletions examples/service_manager_cli/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: service_manager_cli
publish_to: none

environment:
sdk: ^3.11.0
sdk: ^3.10.0

resolution: workspace

Expand All @@ -12,7 +12,7 @@ dependencies:
win32: ^6.0.0

dev_dependencies:
halildurmus_lints: ^2.0.0
halildurmus_lints: ^1.1.0

executables:
service_manager_cli:
5 changes: 4 additions & 1 deletion examples/snake/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,14 @@ name: snake
publish_to: none

environment:
sdk: ^3.11.0
sdk: ^3.10.0

resolution: workspace

dependencies:
ffi: ^2.2.0
ffi_leak_tracker: ^0.1.0
win32: ^6.0.0

dev_dependencies:
halildurmus_lints: ^1.1.0
5 changes: 4 additions & 1 deletion examples/system_tray_icon/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,14 @@ name: system_tray_icon
publish_to: none

environment:
sdk: ^3.11.0
sdk: ^3.10.0

resolution: workspace

dependencies:
ffi: ^2.2.0
ffi_leak_tracker: ^0.1.0
win32: ^6.0.0

dev_dependencies:
halildurmus_lints: ^1.1.0
5 changes: 4 additions & 1 deletion examples/task_dialog/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,13 @@ name: task_dialog
publish_to: none

environment:
sdk: ^3.11.0
sdk: ^3.10.0

resolution: workspace

dependencies:
ffi: ^2.2.0
win32: ^6.0.0

dev_dependencies:
halildurmus_lints: ^1.1.0
4 changes: 2 additions & 2 deletions examples/task_manager/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ description: Task Manager
publish_to: none

environment:
sdk: ^3.11.0
sdk: ^3.10.0

resolution: workspace

Expand All @@ -15,7 +15,7 @@ dependencies:
win32: ^6.0.0

dev_dependencies:
halildurmus_lints: ^2.0.0
halildurmus_lints: ^1.1.0

flutter:
uses-material-design: true
5 changes: 4 additions & 1 deletion examples/tetris/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,14 @@ name: tetris
publish_to: none

environment:
sdk: ^3.11.0
sdk: ^3.10.0

resolution: workspace

dependencies:
ffi: ^2.2.0
ffi_leak_tracker: ^0.1.0
win32: ^6.0.0

dev_dependencies:
halildurmus_lints: ^1.1.0
5 changes: 4 additions & 1 deletion examples/usb_drive_monitor/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,14 @@ name: usb_drive_monitor
publish_to: none

environment:
sdk: ^3.11.0
sdk: ^3.10.0

resolution: workspace

dependencies:
ffi: ^2.2.0
ffi_leak_tracker: ^0.1.0
win32: ^6.0.0

dev_dependencies:
halildurmus_lints: ^1.1.0
3 changes: 2 additions & 1 deletion packages/ffi_leak_tracker/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ topics:
- ffi

environment:
sdk: ^3.11.0
sdk: ^3.10.0

resolution: workspace

Expand All @@ -21,4 +21,5 @@ dependencies:

dev_dependencies:
checks: ^0.3.1
halildurmus_lints: ^1.1.0
test: ^1.29.0
4 changes: 2 additions & 2 deletions packages/filepicker_windows/example/wallpaper/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: wallpaper
publish_to: none

environment:
sdk: ^3.11.0
sdk: ^3.10.0

resolution: workspace

Expand All @@ -15,7 +15,7 @@ dependencies:
win32: ^6.0.0

dev_dependencies:
halildurmus_lints: ^2.0.0
halildurmus_lints: ^1.1.0

flutter:
uses-material-design: true
8 changes: 4 additions & 4 deletions packages/filepicker_windows/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ topics:
- windows

environment:
sdk: ^3.11.0
sdk: ^3.10.0

platforms:
windows:
Expand All @@ -23,11 +23,11 @@ resolution: workspace

dependencies:
ffi: ^2.2.0
ffi_leak_tracker: ^0.1.0
ffi_leak_tracker: ^0.1.1
win32: ^6.0.0

dev_dependencies:
checks: ^0.3.1
halildurmus_hooks: ^0.1.1
halildurmus_lints: ^2.0.0
halildurmus_hooks: ^0.1.0
halildurmus_lints: ^1.1.0
test: ^1.29.0
4 changes: 2 additions & 2 deletions packages/generator/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ description: Generates Win32 and COM API projections from Windows Metadata.
publish_to: none

environment:
sdk: ^3.11.0
sdk: ^3.10.0

resolution: workspace

Expand Down Expand Up @@ -55,7 +55,7 @@ dev_dependencies:
halildurmus_hooks: ^0.1.1

# Help ensure that the code is well-written.
halildurmus_lints: ^2.0.0
halildurmus_lints: ^1.1.0

# Running the test suite.
test: ^1.29.0
Expand Down
4 changes: 2 additions & 2 deletions packages/win32/hook/build.dart
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ Logger createDefaultLogger() {
void main(List<String> args) async {
await build(args, (input, output) async {
if (!input.config.buildCodeAssets) return;
if (input.config.code.targetOS != OS.windows) return;
if (input.config.code.targetOS != .windows) return;

final packageName = input.packageName;
final cbuilder = CBuilder.library(
Expand All @@ -79,7 +79,7 @@ void main(List<String> args) async {
String normalizeDynamicLibraryName(String library) =>
library.replaceAll('-', '_').split('.').first;

CodeAsset createCodeAsset(String library) => CodeAsset(
CodeAsset createCodeAsset(String library) => .new(
package: packageName,
name: 'src/win32/${normalizeDynamicLibraryName(library)}.g.dart',
linkMode: DynamicLoadingSystem(.file(library)),
Expand Down
6 changes: 3 additions & 3 deletions packages/win32/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ topics:
- ffi

environment:
sdk: ^3.11.0
sdk: ^3.10.0

resolution: workspace

Expand All @@ -35,7 +35,7 @@ platforms:
dependencies:
code_assets: ^1.0.0
ffi: ^2.2.0
ffi_leak_tracker: ^0.1.0
ffi_leak_tracker: ^0.1.1
hooks: ^1.0.0
logging: ^1.3.0
meta: ^1.17.0
Expand All @@ -52,7 +52,7 @@ dev_dependencies:
halildurmus_hooks: ^0.1.1

# Help ensure that the code is well-written.
halildurmus_lints: ^2.0.0
halildurmus_lints: ^1.1.0

# Used for joining paths.
path: ^1.9.1
Expand Down
6 changes: 3 additions & 3 deletions packages/win32_clipboard/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ topics:
- windows

environment:
sdk: ^3.11.0
sdk: ^3.10.0

platforms:
windows:
Expand All @@ -29,6 +29,6 @@ dependencies:

dev_dependencies:
checks: ^0.3.1
halildurmus_hooks: ^0.1.1
halildurmus_lints: ^2.0.0
halildurmus_hooks: ^0.1.0
halildurmus_lints: ^1.1.0
test: ^1.29.0
4 changes: 2 additions & 2 deletions packages/win32_gamepad/example/inspector/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: inspector
publish_to: none

environment:
sdk: ^3.11.0
sdk: ^3.10.0

resolution: workspace

Expand All @@ -17,4 +17,4 @@ flutter:
uses-material-design: true

dev_dependencies:
halildurmus_lints: ^2.0.0
halildurmus_lints: ^1.1.0
6 changes: 3 additions & 3 deletions packages/win32_gamepad/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ topics:
- windows

environment:
sdk: ^3.11.0
sdk: ^3.10.0

platforms:
windows:
Expand All @@ -28,6 +28,6 @@ dependencies:

dev_dependencies:
checks: ^0.3.1
halildurmus_hooks: ^0.1.1
halildurmus_lints: ^2.0.0
halildurmus_hooks: ^0.1.0
halildurmus_lints: ^1.1.0
test: ^1.29.0
8 changes: 4 additions & 4 deletions packages/win32_registry/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ topics:
- windows

environment:
sdk: ^3.11.0
sdk: ^3.10.0

platforms:
windows:
Expand All @@ -24,12 +24,12 @@ resolution: workspace
dependencies:
collection: ^1.19.1
ffi: ^2.2.0
ffi_leak_tracker: ^0.1.0
ffi_leak_tracker: ^0.1.1
meta: ^1.17.0
win32: ^6.0.0

dev_dependencies:
checks: ^0.3.1
halildurmus_hooks: ^0.1.1
halildurmus_lints: ^2.0.0
halildurmus_hooks: ^0.1.0
halildurmus_lints: ^1.1.0
test: ^1.29.0
6 changes: 3 additions & 3 deletions packages/win32_runner/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ topics:
- windows

environment:
sdk: ^3.11.0
sdk: ^3.10.0

platforms:
windows:
Expand All @@ -28,6 +28,6 @@ dependencies:

dev_dependencies:
checks: ^0.3.1
halildurmus_hooks: ^0.1.1
halildurmus_lints: ^2.0.0
halildurmus_hooks: ^0.1.0
halildurmus_lints: ^1.1.0
test: ^1.29.0
Loading
Loading