flutter-plugins

Scaffold Flutter plugin packages with method channels or FFI integrations.

56|4|Updated Oct 29, 2025
One-click install
npx skills add https://github.com/MimicHunterZ/PocketMind --skill flutter-plugins-mimichunterz
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: flutter-plugins
Source: https://github.com/MimicHunterZ/PocketMind/tree/main/.claude/skills/flutter-plugins
Command: npx skills add https://github.com/MimicHunterZ/PocketMind --skill flutter-plugins-mimichunterz

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill streamlines the creation of Flutter plugins by automating the setup of native code environments, method channels, and FFI integrations, simplifying cross-platform development.

Core Features & Use Cases

  • Scaffolding: Generates Flutter plugin packages with configurable templates for Method Channels or FFI.
  • Native Integration: Configures Android (Kotlin/Java) and iOS (Swift/Objective-C) native codebases.
  • Federated Architecture: Supports setting up package-separated federated plugins for modular development.
  • Use Case: You need to create a Flutter plugin that accesses device hardware features not directly exposed by Flutter. This Skill will generate the necessary project structure and native code stubs for both Android and iOS.

Quick Start

Generate a new Flutter plugin named 'my_awesome_plugin' that supports Android and iOS, using Kotlin and Swift.

Frequently Asked Questions about flutter-plugins

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I scaffold a Flutter plugin that supports both Android and iOS?

To scaffold a Flutter plugin, this Skill generates a package structure with configurable templates for native Android and iOS codebases, automatically configuring the necessary platform-specific environments.

What is the best way to set up a federated Flutter plugin architecture?

To set up a federated Flutter plugin architecture, this Skill creates package-separated platform interface packages, enabling modular development across different native implementations.

Can I use dart:ffi instead of method channels for native integration in Flutter?

Yes, you can use dart:ffi for native integration. This Skill configures plugin packages with selectable templates for either standard method channels or dart:ffi integrations.

Does this Skill support the Android v2 embedding lifecycle interfaces?

Yes, the Skill supports the Android v2 embedding lifecycle interfaces by automating their setup during the native code environment configuration for Android platforms.

When do I need to create a custom Flutter plugin?

You need to create a custom Flutter plugin when accessing device hardware features not directly exposed by Flutter, requiring native code stubs for Android and iOS environments.

Do I need to manually write Kotlin or Swift stubs when generating a Flutter plugin?

No, you do not need to manually write stubs. This Skill automates the setup of native code environments, generating the required Kotlin or Swift code stubs for your plugin.