# Flutter Desktop Config

> Configure Flutter for desktop platforms with platform channels and native integrations Use when this capability is needed.

- Skill: `tomevault-io/flutter-desktop-config` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add tomevault-io/flutter-desktop-config`
- Raw SKILL.md: https://api.skillmd.com/api/skills/tomevault-io/flutter-desktop-config/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: tomevault-io (https://skillmd.com/u/tomevault-io)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/tomevault-io/flutter-desktop-config

---


# flutter-desktop-config

Configure Flutter for desktop platforms (Windows, macOS, Linux) with platform channels, native integrations, and platform-specific configurations.

## Capabilities

- Enable Flutter desktop support
- Configure platform channels for native code
- Set up platform-specific runners
- Configure window management
- Set up menu bar and system tray
- Configure app icons and metadata
- Set up MSIX/DMG/DEB packaging
- Configure plugin support

## Input Schema

```json
{
  "type": "object",
  "properties": {
    "projectPath": { "type": "string" },
    "platforms": { "type": "array", "items": { "enum": ["windows", "macos", "linux"] } },
    "windowConfig": { "type": "object" },
    "nativeChannels": { "type": "array" }
  },
  "required": ["projectPath"]
}
```

## Platform Channel Example

```dart
// Dart side
class NativeService {
  static const platform = MethodChannel('com.example/native');

  Future<String> getSystemInfo() async {
    return await platform.invokeMethod('getSystemInfo');
  }
}
```

```swift
// macOS (Swift)
let controller = FlutterViewController()
let channel = FlutterMethodChannel(name: "com.example/native",
                                   binaryMessenger: controller.engine.binaryMessenger)
channel.setMethodCallHandler { call, result in
    if call.method == "getSystemInfo" {
        result(ProcessInfo.processInfo.operatingSystemVersionString)
    }
}
```

## Related Skills

- `cross-platform-test-matrix`
- `desktop-build-pipeline` process

---
> Converted and distributed by [TomeVault](https://tomevault.io/claim/a5c-ai) — claim your Tome and manage your conversions.
<!-- tomevault:4.0:skill_md:2026-04-16 -->

