v2.2.0about
顯示一個「關於」對話框,用以描述應用程式,可顯示授權條款、變更記錄及其他資訊。
98喜歡 5450近 30 天下載110Pub 分數
AndroidiOSWebmacOSWindowsLinux
Flutter 外掛程式,用於顯示一個關於對話方塊,描述應用程式
以下為英文專案原文快照,最新內容請造訪 GitHub。
Displays an About dialog, which describes the application.
To use this plugin, add about as a dependency in your pubspec.yaml file.
showAboutPage(
context: context,
values: {
'version': '1.0',
'year': DateTime.now().year.toString(),
},
applicationLegalese: 'Copyright © David PHAM-VAN, {{ year }}',
applicationDescription: const Text(
'Displays an About dialog, which describes the application.'),
children: const <Widget>[
MarkdownPageListTile(
icon: Icon(Icons.list),
title: Text('Changelog'),
filename: 'CHANGELOG.md',
),
LicensesPageListTile(
icon: Icon(Icons.favorite),
),
],
applicationIcon: const SizedBox(
width: 100,
height: 100,
child: Image(
image: AssetImage('assets/icon.webp'),
),
),
);
依賴清單 8 項
{"sdk":"flutter"}^0.7.0>=4.0.0 <8.0.0^1.9.0^2.1.0>=6.0.0 <7.0.0^5.0.0{"sdk":"flutter"}先依使用情境篩選,再比較專案活躍情況,最後到原始儲存庫確認使用要求。
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗