flutter dialpad
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.
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
Comments are closed.