Token导航 LogoToken导航

Agent Skill · 前端设计

syncfusion-flutter-barcode-generator(syncfusion Flutter barcode 生成器)

syncfusion-flutter-barcode-generator 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

syncfusion-flutter-barcode-generator 是前端设计类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为需要联网;许可证信息还不明确,第三方扫描已通过,按安装量在前端设计类的 10,216 个 Skill 里排第 5,735。

总安装 612周安装 26GitHub Stars 1下载 214核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:syncfusion-flutter-barcode-generator(syncfusion Flutter barcode 生成器)
来源仓库:https://github.com/syncfusion/flutter-ui-components-skills
仓库路径:skills/syncfusion-flutter-barcode-generator
安装命令:
npx skills add https://github.com/syncfusion/flutter-ui-components-skills --skill syncfusion-flutter-barcode-generator
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/syncfusion/flutter-ui-components-skills --skill syncfusion-flutter-barcode-generator

这个 Skill 是做什么的

前端设计类 Skill 关注页面结构、视觉规范和组件写法,输出通常是可运行的界面代码。

用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息。适合在 Codex、Claude、Cursor、Gemini CLI 中围绕仓库状态、代码变更或协作事项进行整理。通过 npx skills add 命令从指定 GitHub 仓库安装使用。

安装前需确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写操作。syncfusion-flutter-barcode-generator 属于前端设计类 Skill,可作为该场景下的辅助能力补充。

来源仓库内路径:skills/syncfusion-flutter-barcode-generator

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/syncfusion/flutter-ui-components-skills --skil…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要需要联网,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

syncfusion-flutter-barcode-generator 怎么安装?

在终端执行 npx skills add https://github.com/syncfusion/flutter-ui-components-skills --skill syncfusi…。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

syncfusion-flutter-barcode-generator 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

syncfusion-flutter-barcode-generator 需要什么权限?

权限级别是需要联网。该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

syncfusion-flutter-barcode-generator 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

syncfusion-flutter-barcode-generator 用的人多吗?

公开数据是累计安装 612 次,近一周安装 26 次,下载 214 次,GitHub 1 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

syncfusion-flutter-barcode-generator 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理前端设计类任务、又不想每次都手写提示词的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

前端设计类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
frontend-design

前端设计 · Codex、Claude

8,823,360126,072只读MIT通过
vercel-composition-patterns

Vercel 组合模式 · Codex、Claude

3,858,81625,893需要联网MIT通过
vercel-react-native-skills

Vercel React native skills 前端 · Codex、Claude

2,468,66425,878只读MIT通过
adapt

adapt 搜索 · Codex、Claude

2,027,04023,125操作浏览器未明确通过
bolder

bolder 分析 · Codex、Claude

2,004,28823,130只读未明确通过
syncfusion-flutter-barcode-generator

syncfusion Flutter barcode 生成器 · 本页

6121需要联网未明确通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Syncfusion Flutter Barcode Generator

This skill covers the Syncfusion Flutter Barcode Generator component (SfBarcodeGenerator) for creating machine-readable barcodes. The widget supports 14 different barcode symbologies including popular 1D barcodes (Code128, EAN, UPC, etc.) and 2D barcodes (QR Code, Data Matrix).

When to Use This Skill

Use this skill when you need to:

  • Generate barcodes for products, assets, or documents
  • Implement QR codes for URLs, contact info, or payments
  • Create product labels with retail barcodes (EAN, UPC)
  • Build inventory systems with barcode tracking
  • Generate Data Matrix codes for compact data encoding
  • Add barcode scanning integration to your Flutter apps
  • Create tickets or vouchers with unique barcode identifiers
  • Implement asset tracking with barcode labels
  • Generate barcodes for documents or identification cards
  • Customize barcode appearance with colors, text, and styling
  • Support multiple barcode formats in a single application
  • Display machine-readable codes for data input workflows

Component Overview

SfBarcodeGenerator is a data visualization widget designed to generate and display data in a machine-readable format. It provides:

  • 14 Barcode Symbologies - 12 one-dimensional and 2 two-dimensional types
  • Customizable Appearance - Colors, text styling, spacing, and bar width control
  • Easy Integration - Simple API with minimal configuration
  • Accessibility Support - Sufficient contrast and large fonts support
  • Flexible Sizing - Automatic or manual module (bar width) configuration
  • Text Display - Show/hide input values with custom formatting

Supported Barcode Types

One-Dimensional (1D) Barcodes - 12 Types

Barcode TypeCharacter SupportTypical Use Cases
CodabarNumeric + special chars (-,:, /, +)Libraries, blood banks, shipping
Code39Alphanumeric (uppercase) + symbolsAutomotive, defense, healthcare
Code39ExtendedFull ASCII (all 128 characters)Extended character encoding
Code93Alphanumeric + symbolsCompact encoding, logistics
Code128Full ASCII (automatic mode)Most versatile, shipping, packaging
Code128AASCII 0-95 (uppercase + control)Control character encoding
Code128BASCII 32-127 (upper + lowercase)Standard text encoding
Code128CNumeric pairs (00-99)Numeric data, double density
UPCA12-digit numericRetail products (North America)
UPCE8-digit numeric (compact)Small package retail products
EAN1313-digit numericInternational retail products
EAN88-digit numericSmall retail products

Two-Dimensional (2D) Barcodes - 2 Types

Barcode TypeData CapacityTypical Use Cases
QR CodeUp to 7,089 numeric or 4,296 alphanumericURLs, contact info, payments, marketing
Data MatrixUp to 3,116 numeric or 2,335 alphanumericElectronics, pharmaceuticals, printed media

QR Code Features:

  • Error correction levels (Low, Medium, Quartile, High)
  • Input modes (Numeric, Alphanumeric, Binary, Kanji)
  • Version 1-40 (21x21 to 177x177 modules)

Data Matrix Features:

  • Encoding types (Auto, ASCII, ASCIINumeric, Base256)
  • Square and rectangular formats
  • Compact size for small labels

Documentation and Navigation Guide

Getting Started

📄 Read: references/getting-started.md

  • Installation and package setup
  • Add dependency to pubspec.yaml
  • Import barcode package
  • Basic SfBarcodeGenerator implementation
  • Create your first 1D barcode (Code128)
  • Create your first QR code
  • Display input value below barcode
  • Next steps and learning path

Barcode Types and Symbologies

📄 Read: references/barcode-types.md

  • All 12 one-dimensional barcode types with examples
  • All 2 two-dimensional barcode types with examples
  • Detailed properties for each symbology
  • Input validation rules per barcode type
  • Character support and limitations
  • Choosing the right barcode type for your use case
  • Symbology comparison table
  • Best practices for barcode selection

Customization and Styling

📄 Read: references/customization.md

  • Text customization (showValue, textStyle, textSpacing, textAlign)
  • Bar customization (module, barColor, backgroundColor)
  • Size and layout control
  • Responsive sizing strategies
  • Text style properties (font, size, weight, color)
  • Bar width (module) configuration for 1D and 2D barcodes
  • Complete customization examples
  • Best practices for scannable barcodes

Accessibility Features

📄 Read: references/accessibility.md

  • Sufficient contrast support
  • Large fonts and text scaling
  • Color customization for accessibility
  • MediaQueryData integration
  • Accessibility best practices
  • Testing for readability

Quick Start Examples

Basic QR Code

import 'package:flutter/material.dart';
import 'package:syncfusion_flutter_barcodes/barcodes.dart';

class QRCodeExample extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(title: Text('QR Code')),
      body: Center(
        child: Container(
          height: 300,
          width: 300,
          child: SfBarcodeGenerator(
            value: 'https://www.syncfusion.com',
            symbology: QRCode(),
            showValue: true,
          ),
        ),
      ),
    );
  }
}

Basic Code128 Barcode

import 'package:flutter/material.dart';
import 'package:syncfusion_flutter_barcodes/barcodes.dart';

class Code128Example extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(title: Text('Code128 Barcode')),
      body: Center(
        child: Container(
          height: 150,
          child: SfBarcodeGenerator(
            value: 'SYNCFUSION',
            symbology: Code128(),
            showValue: true,
          ),
        ),
      ),
    );
  }
}

Retail Product Barcode (EAN13)

import 'package:flutter/material.dart';
import 'package:syncfusion_flutter_barcodes/barcodes.dart';

class RetailBarcodeExample extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(title: Text('Product Barcode')),
      body: Center(
        child: Container(
          height: 150,
          width: 280,
          child: SfBarcodeGenerator(
            value: '9735940564824',
            symbology: EAN13(),
            showValue: true,
          ),
        ),
      ),
    );
  }
}

Common Patterns

Pattern 1: QR Code with Error Correction

SfBarcodeGenerator(
  value: 'https://www.example.com/product/12345',
  symbology: QRCode(
    errorCorrectionLevel: ErrorCorrectionLevel.high,
    codeVersion: QRCodeVersion.auto,
    inputMode: QRInputMode.binary,
  ),
  showValue: true,
  textSpacing: 10,
)

Pattern 2: Customized Barcode Appearance

SfBarcodeGenerator(
  value: 'PRODUCT-12345',
  symbology: Code128(module: 2),
  barColor: Colors.deepPurple,
  backgroundColor: Colors.grey[100],
  textStyle: TextStyle(
    fontSize: 16,
    fontWeight: FontWeight.bold,
    color: Colors.deepPurple,
  ),
  showValue: true,
  textAlign: TextAlign.center,
  textSpacing: 15,
)

Pattern 3: Multiple Barcode Types in List

class BarcodeList extends StatelessWidget {
  final List<BarcodeItem> barcodeTypes = [
    BarcodeItem('Code128', '12345678', Code128()),
    BarcodeItem('QR Code', 'https://example.com', QRCode()),
    BarcodeItem('EAN13', '9735940564824', EAN13()),
    BarcodeItem('Code39', 'CODE39', Code39()),
  ];

  @override
  Widget build(BuildContext context) {
    return ListView.builder(
      itemCount: barcodeTypes.length,
      itemBuilder: (context, index) {
        final item = barcodeTypes[index];
        return Card(
          margin: EdgeInsets.all(8),
          child: Padding(
            padding: EdgeInsets.all(16),
            child: Column(
              children: [
                Text(
                  item.name,
                  style: TextStyle(fontSize: 18, fontWeight: FontWeight.bold),
                ),
                SizedBox(height: 10),
                Container(
                  height: 150,
                  child: SfBarcodeGenerator(
                    value: item.value,
                    symbology: item.symbology,
                    showValue: true,
                  ),
                ),
              ],
            ),
          ),
        );
      },
    );
  }
}

class BarcodeItem {
  final String name;
  final String value;
  final Symbology symbology;

  BarcodeItem(this.name, this.value, this.symbology);
}

Pattern 4: Responsive Barcode Sizing

class ResponsiveBarcode extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    final screenWidth = MediaQuery.of(context).size.width;
    final barcodeSize = screenWidth * 0.8;

    return Center(
      child: Container(
        height: barcodeSize,
        width: barcodeSize,
        child: SfBarcodeGenerator(
          value: 'RESPONSIVE-BARCODE',
          symbology: QRCode(),
          showValue: true,
        ),
      ),
    );
  }
}

Key Properties

SfBarcodeGenerator Essential Properties

PropertyTypeDescriptionDefault
valueStringThe data to encode in the barcodeRequired
symbologySymbologyBarcode type (Code128, QRCode, etc.)Code128
showValueboolDisplay input value below barcodefalse
barColorColorColor of barcode bars/modulesColors.black
backgroundColorColorBackground color of barcodeColors.white
textStyleTextStyleStyle for displayed textDefault TextStyle
textSpacingdoubleSpace between barcode and text2
textAlignTextAlignHorizontal alignment of textTextAlign.center

Common Symbology Properties

PropertyApplies ToDescriptionDefault
moduleAll typesWidth of smallest bar/dot (logical pixels)Auto-calculated

Code39 Specific Properties

PropertyTypeDescriptionDefault
enableCheckSumboolAdd check digit to barcodetrue

QR Code Specific Properties

PropertyTypeDescriptionDefault
errorCorrectionLevelErrorCorrectionLevelError recovery level (low, medium, quartile, high)high
codeVersionQRCodeVersionQR version 1-40 or autoauto
inputModeQRInputModeInput type (numeric, alphanumeric, binary, kanji)binary

Data Matrix Specific Properties

PropertyTypeDescriptionDefault
encodingDataMatrixEncodingEncoding type (auto, ASCII, ASCIINumeric, base256)auto
dataMatrixSizeDataMatrixSizeSize configurationauto

Common Use Cases

  1. Product Labeling - Generate EAN13 or UPCA barcodes for retail products
  2. Inventory Management - Use Code128 for tracking assets and stock items
  3. QR Code Marketing - Create QR codes for URLs, promotions, and campaigns
  4. Ticket Generation - Generate unique barcodes for event tickets and vouchers
  5. Document Identification - Add Code39 or Code128 to documents for tracking
  6. Payment QR Codes - Create QR codes for payment gateways and transactions
  7. Asset Tracking - Label equipment and assets with Codabar or Code128
  8. Shipping Labels - Use Code128 for package tracking and logistics
  9. Library Management - Implement Codabar for book and media tracking
  10. Healthcare Labels - Generate barcodes for patient records and medications
  11. Contact Sharing - Create QR codes with vCard data for business cards
  12. Wi-Fi Sharing - Generate QR codes for Wi-Fi credentials

Related Resources

平台分布

Codex

38.46%
按下载量换算82

Claude

27.82%
按下载量换算60

Cursor

20.5%
按下载量换算44

Gemini CLI

9.65%
按下载量换算21

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills