FLUTTER ECOSYSTEM

DavBfr/flutter_about

Flutter 插件,用于显示一个关于对话框,描述应用程序

flutter_about 项目封面
Stars
18
Forks
15
最近推送(UTC)
2024年10月22日
项目状态
未归档
David PHAM-VAN GitHub avatar
GITHUB User

David PHAM-VAN ↗

Halifax, Canada, NS
语言DartMakefile

此仓库发布的插件

使用的依赖

依赖清单 8 项
  • flutter{"sdk":"flutter"}
  • flutter_markdown^0.7.0
  • markdown>=4.0.0 <8.0.0
  • path^1.9.0
  • simple_mustache^2.1.0
  • url_launcher>=6.0.0 <7.0.0
  • flutter_lints开发依赖^5.0.0
  • flutter_test开发依赖{"sdk":"flutter"}

原始 README

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

展开 / 收起项目 README

About

Displays an About dialog, which describes the application.

Example

Buy Me A Coffee

Usage

To use this plugin, add about as a dependency in your pubspec.yaml file.

Example

  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'),
      ),
    ),
  );