Skip to main content

prism_changelog 0.1.0 copy "prism_changelog: ^0.1.0" to clipboard
prism_changelog: ^0.1.0 copied to clipboard

In-app "What's New" screens and changelog views for Flutter — parses Keep-a-Changelog markdown into version cards, tracks last-seen versions, and renders beautifully with zero dependencies.

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:prism_changelog/prism_changelog.dart';

/// Demo app for changelog_widget.
void main() => runApp(const DemoApp());

const _changelog = '''
## [2.0.0] - 2026-02-01
- **Dark mode** everywhere
- Faster sync engine
- New adaptive widgets

## [1.1.0] (Hotfix) - 2026-01-05
- Crash fix on cold start

## [1.0.0] - 2025-12-01
- Initial release
''';

/// Root widget demonstrating the What's New sheet and full history.
class DemoApp extends StatelessWidget {
  /// Creates the demo.
  const DemoApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(title: const Text('changelog_widget demo')),
        body: ListView(
          padding: const EdgeInsets.all(16),
          children: [
            FilledButton(
              onPressed: () =>
                  WhatsNewSheet.show(context, changelog: _changelog),
              child: const Text('Show What\u2019s New'),
            ),
            const SizedBox(height: 16),
            ChangelogView(changelog: _changelog, highlightVersion: '2.0.0'),
          ],
        ),
      ),
    );
  }
}
0
likes
150
points
23
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

In-app "What's New" screens and changelog views for Flutter — parses Keep-a-Changelog markdown into version cards, tracks last-seen versions, and renders beautifully with zero dependencies.

Repository (GitHub)
View/report issues

Topics

#changelog #whats-new #release-notes #widget #ui

License

MIT (license)

Dependencies

flutter, shared_preferences

More

Packages that depend on prism_changelog