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 ↗