keyboard always scroll for opening both input fields

This commit is contained in:
Ivan Murashov
2018-04-01 21:45:12 +03:00
parent 6c098aa0b8
commit 17c0a953cf
4 changed files with 163 additions and 155 deletions

View File

@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" <manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.dinect.checker" package="com.dinect.checker"
android:versionCode="11" android:versionCode="12"
android:versionName="1.1.16"> android:versionName="1.1.17">
<uses-sdk <uses-sdk
android:minSdkVersion="16" android:minSdkVersion="16"

8
build-all-apks Executable file
View File

@@ -0,0 +1,8 @@
#! /bin/bash
flutter clean
flutter build apk --flavor autobonus
flutter build apk --flavor crypto
flutter build apk --flavor dinect
flutter build apk --flavor dinect_INT
flutter build apk --flavor dinect_OTE

View File

@@ -456,7 +456,7 @@ class PurchaseScreenState<T> extends BaseState<PurchaseScreen> {
} }
if (sumFocusNode.hasFocus) { if (sumFocusNode.hasFocus) {
scrollController.animateTo(100.0, duration: new Duration(seconds: 1), curve: Curves.ease); scrollController.animateTo(150.0, duration: new Duration(seconds: 1), curve: Curves.ease);
} }
}); });
@@ -470,7 +470,7 @@ class PurchaseScreenState<T> extends BaseState<PurchaseScreen> {
} }
if (bonusFocusNode.hasFocus) { if (bonusFocusNode.hasFocus) {
scrollController.animateTo(120.0, duration: new Duration(seconds: 1), curve: Curves.ease); scrollController.animateTo(150.0, duration: new Duration(seconds: 1), curve: Curves.ease);
} }
}); });