TF-582+584 Fix bug text input is hidden and weird scroll bar in signature identity

This commit is contained in:
dab246
2022-05-25 19:48:43 +07:00
committed by Dat H. Pham
parent ba64136357
commit ce7dcbce09
6 changed files with 220 additions and 190 deletions
@@ -12,6 +12,7 @@ class TextFieldBuilder {
InputDecoration? _inputDecoration;
bool? _obscureText;
int? _maxLines = 1;
int? _minLines;
TextEditingController? _textController;
TextInputType? _keyboardType;
Color? _cursorColor;
@@ -58,6 +59,10 @@ class TextFieldBuilder {
_maxLines = value;
}
void minLines(int? value) {
_minLines = value;
}
void keyboardType(TextInputType? value) {
_keyboardType = value;
}
@@ -84,6 +89,7 @@ class TextFieldBuilder {
textInputAction: _textInputAction,
decoration: _inputDecoration,
maxLines: _maxLines,
minLines: _minLines,
keyboardAppearance: Brightness.light,
style: _textStyle ?? TextStyle(color: AppColor.textFieldTextColor),
obscureText: _obscureText ?? false,