Liu Yanbo před 6 roky
rodič
revize
8815cdd200
3 změnil soubory, kde provedl 3 přidání a 4 odebrání
  1. 2 1
      CHANGELOG.md
  2. 0 2
      lib/flutter_datetime_picker.dart
  3. 1 1
      pubspec.yaml

+ 2 - 1
CHANGELOG.md

@@ -15,4 +15,5 @@
 ## [1.0.3] - add Dutch in demo
 ## [1.0.4] - add Dutch in readme
 ## [1.0.5] - add max/min time limit for Date Picker, add theme
-## [1.0.6] - add comments
+## [1.0.6] - add comments
+## [1.0.7] - fix max/min time for datetime type picker

+ 0 - 2
lib/flutter_datetime_picker.dart

@@ -71,8 +71,6 @@ class DatePicker {
   static void showDateTimePicker(
     BuildContext context, {
     bool showTitleActions: true,
-    DateTime min,
-    DateTime max,
     DateChangedCallback onChanged,
     DateChangedCallback onConfirm,
     locale: LocaleType.en,

+ 1 - 1
pubspec.yaml

@@ -1,6 +1,6 @@
 name: flutter_datetime_picker
 description: A date time picker for flutter, you can choose date / time / date&time in English Dutch and Chinese, and you can also custom your own picker content
-version: 1.0.6
+version: 1.0.7
 author: Realank <realank@126.com>
 homepage: https://github.com/Realank/flutter_datetime_picker