airplane_mode_checker 1.0.5 copy "airplane_mode_checker: ^1.0.5" to clipboard
airplane_mode_checker: ^1.0.5 copied to clipboard

PlatformAndroidiOS
outdated

Flutter plugin allows you to check the status of Airplane Mode on iOS and Android mobile.

AirplaneModeChecker #


Pub

A Flutter plugin allows you to check the status of Airplane Mode on iOS and Android mobile.

Usage #

Find the example wiring in the example app

Installation #

Add the following line to pubspec.yaml:

dependencies:
  airplane_mode_checker: ^1.0.5

Add the following import to your Dart code:

import 'package:airplane_mode_checker/airplane_mode_checker.dart';

Check Airplane Mode #

In order to check the airplane mode, use AirplaneModeChecker.checkAirplaneMode() as below.

You will get the return AirplaneModeStatus:

  • AirplaneModeStatus.on
  • AirplaneModeStatus.off
final status = await AirplaneModeChecker.checkAirplaneMode();

iOS available #

iOS is available from version 12

@available(iOS 12.0, *)

ScreenShots #

Android #

AirplaneMode: ON AirplaneMode: OFF

Issues and feedback #

Please file issues to send feedback or report a bug. Thank you!

License #

MIT License

Buy Me A Coffee

16
likes
150
points
4.13k
downloads

Publisher

unverified uploader

Weekly Downloads

Flutter plugin allows you to check the status of Airplane Mode on iOS and Android mobile.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, fluttertoast

More

Packages that depend on airplane_mode_checker