Receber por email
← Voltar para o catálogo

flutter-desktop-config

Configure o Flutter para plataformas desktop com canais de plataforma e integrações nativas.

1.4kestrelas
Atualizado há 4 meses

Ver no GitHub ↗ Licença: MIT

Como adicionar

/plugin marketplace add a5c-ai/babysitter

O comando exato pode variar conforme o repositório. Confira o README no GitHub.

Para o autor da skill

Cole no README do seu repo

Mostra que sua skill está catalogada na Skillteca, gera backlink e tráfego rastreável.

[![Skillteca](https://www.skillteca.com.br/api/badge/flutter-desktop-config/svg)](https://www.skillteca.com.br/skills/flutter-desktop-config)

Skills relacionadas

Ver todas de Automação →

Alerta por categoria

Receba novas skills de Automação toda segunda

1 email curto, só com as skills novas de Automação. 4 minutos de leitura, sem spam, cancela com 1 clique.

Você confirma o email no primeiro envio. Sem spam. Cancela com 1 clique.

Ler descrição completa

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-matrix
  • desktop-build-pipeline process
Compartilhar X LinkedIn