airplane_mode_checker

Creator: coderz1093

Last updated:

Add to Cart

Description:

airplane mode checker

AirplaneModeChecker #


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: ^2.2.0
copied to clipboard
Add the following import to your Dart code:
import 'package:airplane_mode_checker/airplane_mode_checker.dart';
copied to clipboard
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();
copied to clipboard
iOS available #
iOS is available from version 12
@available(iOS 12.0, *)
copied to clipboard
ScreenShots #

Android #









AirplaneMode: ON
AirplaneMode: OFF




Issues and feedback #
Please file issues to send feedback or report a bug. Thank you!
License #
MIT License

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.