in

A Phone Dialpad for your Flutter Application

flutter_dialpad

To dial a number by the simplest method possible, a phone dialpad widget that can be added to any Flutter Application allows you to enable the ability to dial a number.

This is a purely Dart widget with no dependency on Android or iOS except for the flutter_dtmf package it uses for DTMF tone generation on pressing a button. You can turn it off my setting enableDtmf: false

Getting Started

@override
  Widget build(BuildContext context) {
    return Scaffold(
      backgroundColor: Colors.black,
      body: SafeArea(
        child:
            DialPad(
                enableDtmf: true,
                backspaceButtonIconColor: Colors.red,
                makeCall: (number){
                    print(number);
                }
            )
        ),
    );
  }


Screenshots

iOS Screenshot

Android Screenshot

To Do

[Done] Add DTMF Tones

  • Shrink Ouput to Fit
  • Support for Local Numbers in Text Input Mask

GitHub

https://github.com/eopeter/flutter_dialpad

Written by James

A beautiful and custom alert dialog for flutter

A flutter Package to show custom alert Dialog