Flutter desktop config
Skill a5c-ai/babysitter/library/specializations/desktop-development/skills/flutter-desktop-config
Babysitter enforces obedience on agentic workforces and enables them to manage extremely complex tasks and workflows through deterministic, hallucination-free self-orchestration
npx -y skills add a5c-ai/babysitter --skill flutter-desktop-configAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
What its author says it does
Copied from the file, not written here
Configure Flutter for desktop platforms with platform channels and native integrations
SKILL.md
2.0 KB, as published. Nobody here has run it
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
{
"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-matrixdesktop-build-pipelineprocess