changelog_widgets 1.1.0 changelog_widgets: ^1.1.0 copied to clipboard
Flutter package to read 'CHANGELOG.md' file and display it in the app as a widget.
Changelog Widgets #
by Damian Aldair.
Inspired by Flutter's AboutDialog.
The easiest way to display your app's changelog.
Getting Started #
Add following dependency to your pubspec.yaml
.
dependencies:
changelog_widgets: <latest_version>
Initialization #
Add the markdown file to your pubspec.yaml
, in the flutter section, for example:
flutter:
assets:
- CHANGELOG.md
Import the package.
import 'package:changelog_widgets/changelog_widgets.dart';
Now, you can use the screens and dialogs.
Available widgets #
- Raw Material screen:
ChangelogRawScreen
. - Built-in Material screen:
ChangelogScreen
. - Built-in Material dialog:
ChangelogDialog
. - Raw Cupertino screen:
CupertinoChangelogRawScreen
. - Built-in Cupertino screen:
CupertinoChangelogScreen
.