time_pickerr 1.0.6 copy "time_pickerr: ^1.0.6" to clipboard
time_pickerr: ^1.0.6 copied to clipboard

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.

13
likes
100
pub points
84%
popularity

Publisher

unverified uploader

A hour picker for DateTime.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (LICENSE)

Dependencies

flutter, numberpicker

More

Packages that depend on time_pickerr