flutter_alert_window 0.0.1 copy "flutter_alert_window: ^0.0.1" to clipboard
flutter_alert_window: ^0.0.1 copied to clipboard

discontinued
outdated

A flutter plugin to show a window even if device is locked

example/lib/main.dart

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

FlutterAlertWindow alert = FlutterAlertWindow();

void main() => runApp(const MyApp());

void onClose() {
  print("onClose");
}

class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(title: const Text('Flutter Alert Plugin')),
        body: Center(
          child: ElevatedButton(
            onPressed: () {
              alert.show(
                time: '22:19',
                title: 'title',
                description: 'description',
                onClose: onClose,
              );
            },
            child: const Text('Show Alert'),
          ),
        ),
      ),
    );
  }
}
1
likes
0
points
13
downloads

Publisher

unverified uploader

Weekly Downloads

A flutter plugin to show a window even if device is locked

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on flutter_alert_window

Packages that implement flutter_alert_window