Search packages, repositories and app categories

GitHub repositoryyanisalfian/flutter-phone-direct-caller

flutter-phone-direct-caller

Call a number directly from flutter application

flutter-phone-direct-caller project cover
Stars
43
Forks
80
Last push (UTC)
Apr 8, 2025
Project status
Active

Original README

English project snapshot. Visit GitHub for the latest content.

flutter_phone_direct_caller

A simple plugin to call number directly from app, without going to phone dialer. Permission request is handled by plugin.

Usage

Add dependency to pubspec.yaml file

flutter_phone_direct_caller: ^2.2.1
Android

No need any additional configuration.

iOS

Add this to your info.plist under dict

<key>LSApplicationQueriesSchemes</key>
<array>
  <string>tel</string>
</array>

Example

import 'package:flutter/material.dart';
import 'package:flutter_phone_direct_caller/flutter_phone_direct_caller.dart';

void main() {
  runApp(Scaffold(
    body: Center(
      child: RaisedButton(
        onPressed: _callNumber,
        child: Text('Call Number'),
      ),
    ),
  ));
}

_callNumber() async{
  const number = '08592119XXXX'; //set the number here
  bool res = await FlutterPhoneDirectCaller.callNumber(number);
}
M Yanis Alfian GitHub avatar
GitHub author

M Yanis Alfian ↗

LanguagesKotlinDartRubyObjective-CSwift

Packages published by this repository

Dependencies used

Dependency list 2 items

How do I choose a repository?

Start with your use case, compare repository activity, and check the original project before adopting it.

  1. Search by repository name, owner or description, then narrow the results by topic.
  2. Compare stars, forks and recent pushes. Stars show community interest, not a guarantee of quality.
  3. Read the README, license and issues on GitHub before using a project.

Sources and maintenance

“A repository is the most basic element of GitHub.”

GitHub Docs — About repositories ↗