You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is no way to change the background color of the round number keys. There is a property setting called "keyPadColor" that I suspect is intended for this purpose following the documentation, but it does nothing when I change this value.
Source Code:
@override Widget build(BuildContext context) { return MaterialApp( home: Scaffold( backgroundColor: Colors.white, body: SafeArea( child: Column( children: <Widget>[ SizedBox( height: 140, ), DialPad( keyPadTextColor: Colors.black, keyPadColor: Colors.red, // outputMask: //Visual formatting of input // "0000 000 00 00", //Here you can mask the display of inserted number. unformatted text won't show up. dialButtonColor: Colors.green, dialButtonIconColor: Colors.white, buttonIcon: FontAwesome.phone, enableDtmf: false, // Don't work in Android Emulator. backspaceButtonIconColor: Colors.red, useNumber: (number) { //use this number variable for any reference or implementation. print(number); }), ], ), ), ), ); }
Result:
The text was updated successfully, but these errors were encountered:
Uh oh!
There was an error while loading. Please reload this page.
There is no way to change the background color of the round number keys. There is a property setting called "keyPadColor" that I suspect is intended for this purpose following the documentation, but it does nothing when I change this value.
Source Code:
@override Widget build(BuildContext context) { return MaterialApp( home: Scaffold( backgroundColor: Colors.white, body: SafeArea( child: Column( children: <Widget>[ SizedBox( height: 140, ), DialPad( keyPadTextColor: Colors.black, keyPadColor: Colors.red, // outputMask: //Visual formatting of input // "0000 000 00 00", //Here you can mask the display of inserted number. unformatted text won't show up. dialButtonColor: Colors.green, dialButtonIconColor: Colors.white, buttonIcon: FontAwesome.phone, enableDtmf: false, // Don't work in Android Emulator. backspaceButtonIconColor: Colors.red, useNumber: (number) { //use this
numbervariable for any reference or implementation. print(number); }), ], ), ), ), ); }
Result:
The text was updated successfully, but these errors were encountered: