FLUTTER — SKNumberPad

Why SKNumberPad?

How to use SKNumberPad?

dependencies:
sk_numberpad: ^1.0.0
  1. Include the following packages by adding the below lines in your code
import 'package:sk_numberpad/sk_numberpad.dart';
  • bgColor — the color of the number pad
  • textColor — the color of the text in the number pad
  • selectedNo — the number which pressed in the number pad
  • doneSelected — the button which pressed in the number pad
@override
Widget build(BuildContext context) {
// TODO: implement build
return Scaffold(
body:SkNumberPad(
bgColor: ColorsUtils.orange,
textColor: Colors.white,
selectedNo: (value) {
print(value);
},
doneSelected: (value) {
print('Done Selected');
},
)
);
}

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store