flutter-desktop-config

SkillDev tools

Configure Flutter for desktop platforms with platform channels and native integrations

Instructions available. Your AI can read the instructions. Execution depends on the setup they require.

Add ahel to your AI once: Claude, ChatGPT, Cursor, Claude Code or Codex. Then ask it to use this.

Then ask your AI: use the flutter-desktop-config skill

What this skill tells your AI

The instructions your AI receives, as published by a5c-ai/babysitter in library/specializations/desktop-development/skills/flutter-desktop-config/SKILL.md and read by ahel’s review.

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

{
  "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 side
class NativeService {
  static const platform = MethodChannel('com.example/native');

  Future<String> getSystemInfo() async {
    return await platform.invokeMethod('getSystemInfo');
  }
}
// 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

Signals

GitHub stars
2k
Forks
112
Last commit
Sep 2026
Advanced
Item type
skill
Key
flutter-desktop-config
Source
github.com/a5c-ai/babysitter