From d3e232ed170d2d75720ce44b207abab33761a532 Mon Sep 17 00:00:00 2001 From: eugvb <43745501+eugvb@users.noreply.github.com> Date: Tue, 17 Sep 2019 16:24:06 +0300 Subject: [PATCH 1/2] add columnFlex support to DateTimePickerAdapter It should allow use custom columnFlex values with DateTimePickerAdapter --- lib/Picker.dart | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/Picker.dart b/lib/Picker.dart index 609f234..96079cc 100644 --- a/lib/Picker.dart +++ b/lib/Picker.dart @@ -1105,9 +1105,10 @@ class DateTimePickerAdapter extends PickerAdapter { @override int getColumnFlex(int column) { - if (getColumnType(column) == 0) { + if (picker.columnFlex != null && column < picker.columnFlex.length) + return picker.columnFlex[column]; + if (getColumnType(column) == 0) return 3; - } return 2; } From 75d4f2b7ad50f9c72fa7136cd1cdd181e4a0f631 Mon Sep 17 00:00:00 2001 From: zariweyo Date: Fri, 11 Oct 2019 13:57:01 +0200 Subject: [PATCH 2/2] Change compiledSdkVersion to 28 --- android/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/android/build.gradle b/android/build.gradle index 0cabda9..09e26df 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -22,7 +22,7 @@ rootProject.allprojects { apply plugin: 'com.android.library' android { - compileSdkVersion 27 + compileSdkVersion 28 defaultConfig { minSdkVersion 16