Time_pickerr: A Hour Picker for DateTime
Time Pickerr
A flutter plugin for a horizontal picker

Usage
You can use time_pickerr as a normal widget like:
buildCustomTimer(BuildContext context) {
return CustomHourPicker(
elevation: 2,
onPositivePressed: (context, time) {
print('onPositive');
},
onNegativePressed: (context) {
print('onNegative');
},
);
};
or in a showdialog:
showDialog(
context: context,
builder: (BuildContext context) {
return buildCustomTimer(context);
},
);
Additional information
Feel free to do pull requests or ask for changes on issues(on gitHub). There is a simple example on the github
Installing
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add time_pickerrThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
time_pickerr: ^1.0.6Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more
Import it
:Now in your Dart code, you can use
import 'package:time_pickerr/time_pickerr.dart';
