Skip to main content

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

discontinued
PlatformAndroid

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

example/lib/main.dart

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

final alert = AlertActivity();

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

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.showActivity(
                  time: '22:19',
                  title: 'title',
                  description: 'description',
                );
              },
              child: const Text('Show Alert')),
        ),
      ),
    );
  }
}
0
likes
160
points
49
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

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

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on alert_activity

Packages that implement alert_activity