flutter_call_phone_intent

Description

{When you're done, you can delete the content in this README and update the file with details for others getting started with your repository}

Software Architecture

Software architecture description

Installation

addAdroidPermission:

Instructions

create final _flutterPhoneCallAutoPlugin = FlutterCallPhoneIntent();

allReturn bool

await _flutterPhoneCallAutoPlugin.init();

requestPermissions

await _flutterPhoneCallAutoPlugin.requestPermissions();

callPhone

await _flutterPhoneCallAutoPlugin.callPhone(phoneNumber: "123456789");

answerPhone

await _flutterPhoneCallAutoPlugin.answerCall();

endPhone

await _flutterPhoneCallAutoPlugin.endCall();

checkPermissions

await _flutterPhoneCallAutoPlugin.checkPermissions()

onCallStateChanged

_flutterPhoneCallAutoPlugin.onCallStateChanged((callState) {})

Contribution

  1. Fork the repository
  2. Create Feat_xxx branch
  3. Commit your code
  4. Create Pull Request

Gitee Feature

  1. You can use Readme_XXX.md to support different languages, such as Readme_en.md, Readme_zh.md
  2. Gitee blog blog.gitee.com
  3. Explore open source project https://gitee.com/explore
  4. The most valuable open source project GVP
  5. The manual of Gitee https://gitee.com/help
  6. The most popular members https://gitee.com/gitee-stars/