Use this Widget where you need to Collect or Show Time and Duration. Widget uses the Horizontal Slider
Specify:
- initial TimeOfDay
- Time Range
- Minimum and Maximum Duration.
- Initial Duration.
import { TimeDurationPicker } from 'com.androidpigeon.widget.time_duration_picker';
## Usage
TimeDurationPicker(
timeInitial?: TimeOfDay.now(),
timeInterval?: const Duration(minutes: 30),
timeRange?: [startTimeOfDay, endTimeOfDay],
durationInterval?: const Duration(minutes: 5),
durationInitial?: const Duration(hours: 2),
durationRange?: [const Duration(hours: 0), const Duration(hours: 2)],
)
TODO: Tell users more about the package: where to find more information, how to contribute to the package, how to file issues, what response they can expect from the package authors, and more.