flutter_time_picker_spinner
A Flutter widget to set time with spinner instead of material time picker.
12H format
24H format
24H format with second
Custom style
Getting Started
This project is a starting point for a Dart
package,
a library module containing code that can be shared easily across
multiple Flutter or Dart projects.
package,
a library module containing code that can be shared easily across
multiple Flutter or Dart projects.
For help getting started with Flutter, view our
online documentation, which offers tutorials,
samples, guidance on mobile development, and a full API reference.
online documentation, which offers tutorials,
samples, guidance on mobile development, and a full API reference.
Props
PROPS | TYPES | DEFAULTVALUES |
---|---|---|
time | DateTime | Current Time [ DateTime.now() ] |
minutesInterval | int | 1 |
secondsInterval | int | 1 |
is24HourMode | bool | true |
isShowSeconds | bool | false |
isShowSeconds | bool | false |
highlightedTextStyle | TextStyle | false |
normalTextStyle | TextStyle | false |
itemHeight | double | 60.0 |
itemWidth | double | 45.0 |
spacing | double | 20.0 |
alignment | AlignmentGeometry | Alignment.centerRight |
isForce2Digits | bool | false |
onTimeChange | TimePickerCallback |