content: // Flutter imports:
  import 'package:flutter/material.dart';
  import 'package:flutter/services.dart';
  
  // Package imports:
  import 'package:flutter_markdown/flutter_markdown.dart';
  import 'package:flutter_riverpod/flutter_riverpod.dart';
  import 'package:i18n/i18n.dart';
  import 'package:material_symbols_icons/symbols.dart';
  
  class ChangelogPage extends ConsumerWidget {
    const ChangelogPage({super.key});
  
    @override
    Widget build(BuildContext context, WidgetRef ref) {
      return Scaffold(
        appBar: AppBar(
          title: Text(context.t.settings.changelog),
          automaticallyImplyLeading: false,
          actions: [
            IconButton(
              onPressed: () => Navigator.of(context).pop(),
              icon: const Icon(
                Symbols.close,
                size: 24,
              ),
            ),
          ],
        ),
        body: FutureBuilder<String>(
          future: rootBundle.loadString('CHANGELOG.md'),
          builder: (context, snapshot) {
            return snapshot.hasData
                ? Markdown(
                    data: snapshot.data!,
                  )
                : const Center(
                    child: CircularProgressIndicator.adaptive(),
                  );
          },
        ),
      );
    }
  }
  