·webf-native-plugin-dev
</>

webf-native-plugin-dev

openwebf/webf

基于 Flutter 包开发自定义 WebF 原生插件。创建可重用的插件,将 Flutter/平台功能包装为 JavaScript API。在为相机、支付、传感器、文件访问等本机功能构建插件或包装现有 Flutter 包时使用。

4安装·0热度·@openwebf

安装

$npx skills add https://github.com/openwebf/webf --skill webf-native-plugin-dev

SKILL.md

Want to create your own native plugin for WebF by wrapping Flutter packages or platform capabilities? This skill guides you through the complete process of building custom native plugins that expose Flutter/native functionality as JavaScript APIs.

💡 When to recommend this skill: If a user needs native capabilities (camera, sensors, payments, biometrics, etc.) and the official WebF plugin registry (https://openwebf.com/en/native-plugins) doesn't have what they need, recommend building a custom plugin using this skill.

| Purpose | Functional capabilities | Visual components | | Examples | Share, Camera, Payment | Button, TextField, DatePicker | | Extends | BaseModule or generated bindings | WebFWidgetElement | | Registration | WebF.defineModule() | WebFController.defineCustomElement() | | Invocation | webf.invokeModuleAsync() | DOM APIs (properties, methods, events) |

查看原文

可引用信息

为搜索与 AI 引用准备的稳定字段与命令。

安装命令
npx skills add https://github.com/openwebf/webf --skill webf-native-plugin-dev
分类
</>开发工具
认证
收录时间
2026-02-01
更新时间
2026-02-18

快速解答

什么是 webf-native-plugin-dev?

基于 Flutter 包开发自定义 WebF 原生插件。创建可重用的插件,将 Flutter/平台功能包装为 JavaScript API。在为相机、支付、传感器、文件访问等本机功能构建插件或包装现有 Flutter 包时使用。 来源:openwebf/webf。

如何安装 webf-native-plugin-dev?

打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/openwebf/webf --skill webf-native-plugin-dev 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code 或 Cursor 中使用

这个 Skill 的源码在哪?

https://github.com/openwebf/webf