plugingen

package
v1.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 5, 2025 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PluginGenerator

type PluginGenerator struct {
	models.ProjectNaming
}

PluginGenerator 保存用于 Flutter 插件生成的配置信息

func NewPluginGenerator

func NewPluginGenerator(projectName string) *PluginGenerator

NewPluginGenerator 根据提供的项目名创建一个新的插件生成器

func (*PluginGenerator) Generate

func (g *PluginGenerator) Generate(destDir string) error

Generate 在指定的目标目录下创建一个新的 Flutter 插件项目

func (*PluginGenerator) GeneratorFlutterExample added in v0.1.2

func (g *PluginGenerator) GeneratorFlutterExample(destDir string) error

GeneratorFlutterExample 生成一个 example 应用

Directories

Path Synopsis
templates

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL