flutter_time_picker_spinner

所属分类:collect
开发工具:Dart
文件大小:0KB
下载次数:0
上传日期:2023-06-25 17:39:57
上 传 者sh-1993
说明:  Flutter小部件,使用微调器而不是材质时间选择器来设置时间,
(A Flutter widget to set time with spinner instead of material time picker,)

文件列表:
.idea/ (0, 2021-07-26)
.idea/codeStyles/ (0, 2021-07-26)
.idea/codeStyles/Project.xml (1775, 2021-07-26)
.idea/libraries/ (0, 2021-07-26)
.idea/libraries/Dart_Packages.xml (8418, 2021-07-26)
.idea/libraries/Dart_SDK.xml (1238, 2021-07-26)
.idea/libraries/Flutter_Plugins.xml (173, 2021-07-26)
.idea/misc.xml (1421, 2021-07-26)
.idea/modules.xml (600, 2021-07-26)
.idea/vcs.xml (180, 2021-07-26)
.idea/workspace.xml (24909, 2021-07-26)
.metadata (306, 2021-07-26)
CHANGELOG.md (238, 2021-07-26)
LICENSE (29, 2021-07-26)
doc/ (0, 2021-07-26)
doc/time_picker_1.gif (825212, 2021-07-26)
doc/time_picker_2.gif (394171, 2021-07-26)
doc/time_picker_3.gif (735858, 2021-07-26)
doc/time_picker_4.gif (416055, 2021-07-26)
example/ (0, 2021-07-26)
example/.metadata (302, 2021-07-26)
example/android/ (0, 2021-07-26)
example/android/app/ (0, 2021-07-26)
example/android/app/build.gradle (1872, 2021-07-26)
example/android/app/src/ (0, 2021-07-26)
example/android/app/src/main/ (0, 2021-07-26)
example/android/app/src/main/AndroidManifest.xml (1987, 2021-07-26)
example/android/app/src/main/java/ (0, 2021-07-26)
example/android/app/src/main/java/com/ (0, 2021-07-26)
example/android/app/src/main/java/com/bobbystenly/ (0, 2021-07-26)
example/android/app/src/main/java/com/bobbystenly/example/ (0, 2021-07-26)
example/android/app/src/main/java/com/bobbystenly/example/MainActivity.java (368, 2021-07-26)
example/android/app/src/main/res/ (0, 2021-07-26)
example/android/app/src/main/res/drawable/ (0, 2021-07-26)
example/android/app/src/main/res/drawable/launch_background.xml (434, 2021-07-26)
example/android/app/src/main/res/mipmap-hdpi/ (0, 2021-07-26)
... ...

# flutter_time_picker_spinner Time Picker widget with spinner instead of a 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](https://flutter.io/developing-packages/), 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](https://flutter.io/docs), 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 | | ## Usage ```dart 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) { setState(() { _dateTime = time; }); }, ); } ```

近期下载者

相关文件


收藏者