Skip to main content

hot_patch_generator 0.1.0 copy "hot_patch_generator: ^0.1.0" to clipboard
hot_patch_generator: ^0.1.0 copied to clipboard

读取 @PatchEntry注解,把 Flutter widget 静态翻译为与源文件同名的 JS 模块(包级 widget 工厂 + 组件类),供 hot_patch 运行时热更渲染。

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add hot_patch_generator

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  hot_patch_generator: ^0.1.0

Alternatively, your editor might support dart pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:hot_patch_generator/builder.dart';
1
likes
0
points
204
downloads

Publisher

unverified uploader

Weekly Downloads

读取 @PatchEntry注解,把 Flutter widget 静态翻译为与源文件同名的 JS 模块(包级 widget 工厂 + 组件类),供 hot_patch 运行时热更渲染。

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

analyzer, build, crypto, glob

More

Packages that depend on hot_patch_generator