eopeter / flutter_dialpad

A Phone Dialpad for your Flutter Application
BSD 3-Clause "New" or "Revised" License
26 stars 34 forks source link

# and * buttons are not working. #6

Open viralvaghela opened 3 years ago

EmmanuelAmet commented 2 years ago

In order to get the * and # working, kindly change the output mask from outputMask: "(000) 000-0000" to outputMask: "***************", @viralvaghela @eopeter

Full Code

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