v1.0.1
somedialog
用資源、網路和 Lottie 處理美觀對話框 UI 的 Flutter 套件
28喜歡 12近 30 天下載40Pub 分數
平台暫無資料
用資源、網路和 Lottie 處理美觀對話框 UI 的 Flutter 套件
以下為英文專案原文快照,最新內容請造訪 GitHub。
Flutter package for handle a nice dialog ui using assets, netwok, and lottie image
I've taken the time to make this library, help support to develop it or buy me coffee and snacks to be even more enthusiastic

![]() Dialog |
|---|
Add dependency to your pubspec.yaml:
somedialog: ^{latest_version}
First, add an import to your code:
import 'package:somedialog/somedialog.dart';
FlatButton(
child: Text("Show Dialog"),
onPressed: () {
SomeDialog(
context: context,
path: "assets/report.json",
mode: SomeMode.Lottie,
content:
"Please before tracking, double-check the code you entered!",
title: "Are you sure ?",
submit: () {
}
);
},
)
| SomeMode |
|---|
| Lottie |
| Network |
| Asset |
| parameter | types | defaultValues |
|---|---|---|
| buttonConfig | buttonConfig |
ButtonConfig() |
| path | string |
|
| title | string |
|
| content | string |
|
| dialogHeight | double |
310 |
| imageHeight | double |
150 |
| imageWidth | double |
150 |
| submit | Function |
|
| mode | SomeMode |
SomeMode.Lottie |
依賴清單 5 項
{"sdk":"flutter"}^0.4.0+1^1.1.0^2.2.0+1{"sdk":"flutter"}先依使用情境篩選,再比較專案活躍情況,最後到原始儲存庫確認使用要求。
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗