搜索插件、代码仓与 APP 分类

GitHub 代码仓nbrucker/widget_to_image

widget_to_image

nbrucker/widget_to_image open-source repository details.

widget_to_image 项目封面
星标
13
复刻
22
最近推送(UTC)
2023年6月25日
项目状态
未归档

原始 README

以下为英文项目原文快照,最新内容请访问 GitHub。

Widget To Image

pub package

A simple package to convert any of your widgets into an image

Usage

Import the package
import 'package:widget_to_image/widget_to_image.dart';
Use the package
ByteData byteData = await WidgetToImage.widgetToImage(Container(
    width: 100,
    height: 100,
    color: Colors.blue
));
OR
ByteData byteData = await WidgetToImage.repaintBoundaryToImage(key);

Example

Find the example wiring in the widget_to_image example application.

Details

See the widget_to_image.dart for more details.

Issues and feedback

Please file issues to send feedback or report a bug. Thank you!

Nicolas Bruckert GitHub avatar
GitHub 作者

Nicolas Bruckert ↗

AmazonParis官方网站 ↗
语言Dart

此仓库发布的插件

使用的依赖

依赖清单 1 项

  • flutter{"sdk":"flutter"}

如何选择适合项目的代码仓?

先按使用场景筛选,再比较项目活跃情况,最后到原始仓库核对使用要求。

  1. 通过仓库名、作者或描述搜索,再按技术分类缩小范围。
  2. 结合星标、复刻与最近推送比较项目;星标反映社区关注,不代表质量保证。
  3. 使用前在 GitHub 核对 README、许可证与 Issues。

来源与维护

“A repository is the most basic element of GitHub.”

GitHub Docs — About repositories ↗