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

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

example/lib/main.dart

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

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

  await Alarm.init(showDebugLogs: true);

  runApp(
    MaterialApp(
      theme: ThemeData(useMaterial3: false),
      home: const ExampleAlarmHomeScreen(),
    ),
  );
}
264
likes
0
pub points
96%
popularity

Publisher

verified publishergdelataillade.me

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

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, flutter_fgbg, shared_preferences

More

Packages that depend on alarm