flutter_phone_call_state 0.0.4 flutter_phone_call_state: ^0.0.4 copied to clipboard
This Flutter plugin allows you to track and manage phone call states on Android and iOS devices. It helps you monitor the current state of a call (incoming, outgoing, accepted, or ended) and provides [...]
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add flutter_phone_call_state
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
flutter_phone_call_state: ^0.0.4
Alternatively, your editor might support flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:flutter_phone_call_state/flutter_phone_call_state.dart';