call_integrate 0.0.1 copy "call_integrate: ^0.0.1" to clipboard
call_integrate: ^0.0.1 copied to clipboard

A Flutter plugin which provide native call feature in Android & IOS both platforms.

example/lib/main.dart

import 'dart:async';
import 'package:call_integrate/call_integrate.dart';
import 'package:flutter/material.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatefulWidget {
  const MyApp({super.key});

  @override
  State<MyApp> createState() => _MyAppState();
}

class _MyAppState extends State<MyApp> {
  final _callIntegratePlugin = CallIntegrate();

  Future<void> phoneCall(String phoneNo) async {
    await _callIntegratePlugin.makePhoneCall(phoneNo);
  }

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(
          title: const Text('Plugin example app'),
        ),
        body: Center(
          child: ElevatedButton(
            onPressed: () {
              phoneCall('1234567890');
            },
            child: const Text('Call'),
          ),
        ),
      ),
    );
  }
}
3
likes
150
points
17
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter plugin which provide native call feature in Android & IOS both platforms.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter, flutter_web_plugins, plugin_platform_interface

More

Packages that depend on call_integrate

Packages that implement call_integrate