direct_caller_sim_choice 1.0.3 copy "direct_caller_sim_choice: ^1.0.3" to clipboard
direct_caller_sim_choice: ^1.0.3 copied to clipboard

outdated

direct_caller_sim_choice is a Flutter library that allows you to make phone calls directly from your app.

example/example.dart

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

class MakeCallScreen extends StatelessWidget {
  final String phoneNumber;

  const MakeCallScreen({Key? key, required this.phoneNumber}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text('Make Call'),
      ),
      body: Center(
        child: ElevatedButton(
          onPressed: () {
            DirectCaller().makePhoneCall(phoneNumber);
          },
          child: Text('Call $phoneNumber'),
        ),
      ),
    );
  }
}
11
likes
0
points
116
downloads

Publisher

verified publisherdayananda.tech

Weekly Downloads

direct_caller_sim_choice is a Flutter library that allows you to make phone calls directly from your app.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

android_intent_plus, flutter

More

Packages that depend on direct_caller_sim_choice