v2.0.0
widget_to_image
一個簡單的套件,可將您的任何小部件轉換為影像。
34喜歡 128近 30 天下載55Pub 分數
平台暫無資料
nbrucker/widget_to_image open-source repository details.
以下為英文專案原文快照,最新內容請造訪 GitHub。
A simple package to convert any of your widgets into an image
import 'package:widget_to_image/widget_to_image.dart';
ByteData byteData = await WidgetToImage.widgetToImage(Container(
width: 100,
height: 100,
color: Colors.blue
));
ByteData byteData = await WidgetToImage.repaintBoundaryToImage(key);
Find the example wiring in the widget_to_image example application.
See the widget_to_image.dart for more details.
Please file issues to send feedback or report a bug. Thank you!
依賴清單 1 項
{"sdk":"flutter"}先依使用情境篩選,再比較專案活躍情況,最後到原始儲存庫確認使用要求。
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗