flutter_dialpad 1.0.5 copy "flutter_dialpad: ^1.0.5" to clipboard
flutter_dialpad: ^1.0.5 copied to clipboard

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 '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",
                hideSubtitle: false,
                backspaceButtonIconColor: Colors.red,
                buttonTextColor: Colors.white,
                dialOutputTextColor: Colors.white,
                keyPressed: (value){
                  print('$value was pressed');
                },
                makeCall: (number){
                  print(number);
                }
            )
        ),
      ),
    );
  }
}
37
likes
130
pub points
86%
popularity

Publisher

verified publishereopeter.com

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

License

BSD-3-Clause (license)

Dependencies

flutter, flutter_dtmf, flutter_masked_text2

More

Packages that depend on flutter_dialpad