time_duration_picker 0.0.1-dev.4 copy "time_duration_picker: ^0.0.1-dev.4" to clipboard
time_duration_picker: ^0.0.1-dev.4 copied to clipboard

outdated

A time picker for paired consecutive tasks. It lets you specify the icons for each of your actions and callbacks when the user rotates each icon.

A time picker for paired consecutive tasks. It lets you specify the icons for each of your actions and callbacks when the user rotates each icon. You can optionally give callback for the time duration, decorations for the knob, the knob background, the clock and also color for your icons. The time and duration values are not displayed by the TimeDurationPicker widget, instead they are passed to the callbacks provided.

Features #

Usage #

TimeDurationPicker(
  diameter: 300,
  icon1Data: Icons.notifications_none,
  icon2Data: Icons.bed,
  onIcon1RotatedCallback: (value) {
    setState(() {
      alarmTime = value;
    });
  },
  onIcon2RotatedCallback: (value) {
    setState(() {
      bedTime = value;
    });
  })

Inspired by Iphone Alarm UI Design by Ghulam Rasool

56
likes
0
points
165
downloads

Publisher

unverified uploader

Weekly Downloads

A time picker for paired consecutive tasks. It lets you specify the icons for each of your actions and callbacks when the user rotates each icon.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on time_duration_picker