flutter_dialpad 1.0.0
flutter_dialpad: ^1.0.0 copied to clipboard

Flutter Android iOS

A phone dialer widget that can be added to any Flutter Application to enable ability to dial a number. This could be combined with a voip application to enable placing calls.

example/lib/main.dart

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

import 'package:flutter/services.dart';
import 'package:flutter_dialpad/flutter_dialpad.dart';


void main() => runApp(MyApp());

class MyApp extends StatefulWidget {
  @override
  _MyAppState createState() => _MyAppState();
}

class _MyAppState extends State<MyApp> {

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        backgroundColor: Colors.black,
        body: SafeArea(
            child:
            DialPad(
                enableDtmf: true,
                outputMask: "(000) 000-0000",
                backspaceButtonIconColor: Colors.red,
                makeCall: (number){
                  print(number);
                }
            )
        ),
      ),
    );
  }
}
8
likes
70
pub points
72%
popularity

A phone dialer widget that can be added to any Flutter Application to enable ability to dial a number. This could be combined with a voip application to enable placing calls.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

eopeter@gmail.com

License

BSD (LICENSE)

Dependencies

flutter, flutter_dtmf, flutter_masked_text

More

Packages that depend on flutter_dialpad