flutter_about
flutter_about copied to clipboard
Flutter plugin to display an About dialog, which describes the application
About
Displays an About dialog, which describes the application.
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'),
),
),
);
