alarm 5.1.1 copy "alarm: ^5.1.1" to clipboard
alarm: ^5.1.1 copied to clipboard

A simple Flutter alarm manager plugin for both iOS and Android.

example/lib/main.dart

import 'dart:async';

import 'package:alarm/alarm.dart';
import 'package:alarm_example/screens/home.dart';
import 'package:alarm_example/utils/logging.dart';
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';

Future<void> main() async {
  WidgetsFlutterBinding.ensureInitialized();
  await SystemChrome.setPreferredOrientations([DeviceOrientation.portraitUp]);

  setupLogging(showDebugLogs: true);

  await Alarm.init();

  runApp(
    MaterialApp(
      theme: ThemeData(useMaterial3: false),
      home: const ExampleAlarmHomeScreen(),
    ),
  );
}
copied to clipboard
303
likes
160
points
4.5k
downloads

Publisher

verified publishergdelataillade.me

Weekly Downloads

2024.09.19 - 2025.04.03

A simple Flutter alarm manager plugin for both iOS and Android.

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

collection, equatable, flutter, flutter_fgbg, json_annotation, logging, plugin_platform_interface, rxdart, shared_preferences

More

Packages that depend on alarm