flutter_time_picker_spinner
2.0.0, released 5 years ago by an unverified publisher
Time picker widget with a spinner interface supporting 12 or 24 hour format.
What it does
Provides a customizable spinner time picker widget that works with 12 or 24 hour formats, custom intervals, and seconds. It allows adjusting text styles, spacing, and item heights for the picker wheels.
AI-written summary of version 2.0.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need a spinner-style time selection UI instead of the default material time picker dialog.
- Your app requires custom time intervals or 12/24 hour format configuration.
Skip it when
- You want to use the default platform material time picker.
- You need date picking functionality as well as time.
Strengths
- Supports both 12 and 24 hour time formats.
- Customizable text styles, item heights, and spacing for the spinner.
- Supports custom minutes and seconds intervals.
Weaknesses
- Limited to time selection only.
- No documentation for topics or advanced state validation out of the box.
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 0
import 'package:flutter_time_picker_spinner/flutter_time_picker_spinner.dart';
Widget widget() {
return new TimePickerSpinner(
is24HourMode: false,
normalTextStyle: TextStyle(
fontSize: 24,
color: Colors.deepOrange
),
highlightedTextStyle: TextStyle(
fontSize: 24,
color: Colors.yellow
),
spacing: 50,
itemHeight: 80,
isForce2Digits: true,
onTimeChange: (time) {
},
);
}Alternatives
Packages that do the same job and could replace flutter_time_picker_spinner.
- duration_picker
A time picker widget for selecting hours and minutes as durations.
86Compare - flex_color_picker
Customizable Flutter color picker widget with material palettes, custom swatches, and HSV wheel.
84Compare - date_picker_plus
Customizable Material Design date and range picker widgets for Flutter.
70Compare - flutter_material_color_picker
Material color picker widget with customizable colors and shade selection for Flutter apps
50Compare