updatify_flutter 1.0.0 copy "updatify_flutter: ^1.0.0" to clipboard
updatify_flutter: ^1.0.0 copied to clipboard

A Flutter widget for displaying release notes, product updates, and announcements from the Updatify service.

example/lib/main.dart

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

void main() {
  runApp(const App());
}

class App extends StatelessWidget {
  const App({super.key});

  Future<void> _onShowDialog(BuildContext context) => showUpdatifyDialog(
        context,
        projectId: 'example_project',
        itemDecoration: UpdatifyPostDecoration(),
      );

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      theme: ThemeData(),
      home: Scaffold(
        appBar: AppBar(
          title: const Text('Updatify'),
          actionsPadding: const EdgeInsets.only(right: 8),
          actions: [
            Builder(
              builder: (context) => ElevatedButton(
                onPressed: () => _onShowDialog(context),
                child: const Text('Dialog'),
              ),
            ),
          ],
        ),
        body: const UpdatifyWidget(
          projectId: 'example_project',
        ),
      ),
    );
  }
}
2
likes
0
points
237
downloads

Publisher

verified publisherupdatify.io

Weekly Downloads

A Flutter widget for displaying release notes, product updates, and announcements from the Updatify service.

Homepage
Repository (GitHub)
View/report issues

Topics

#updatify #release-notes #changelog #announcements

License

unknown (license)

Dependencies

cached_network_image, flutter, http, intl, markdown_rich_text, url_launcher, visibility_detector

More

Packages that depend on updatify_flutter