Skip to content

senthilece01/SKNumberPad

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SKNumberPad

Fast and easy to use custom number pad library for Flutter   Flutter

GIF

SKNumberPadDemo

💻 Installation

You just need to add sk_number_pad as a dependency in your pubspec.yaml file.

dependencies:
sk_numberpad: ^1.0.0

Usage

Import this class

import 'package:sk_numberpad/sk_numberpad.dart';

SKNumberPadWidget

@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');
      },
    )
  );
}

📃License

Copyright 2020, Senthil Kumar

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.