Green Screen Flicker Behind Keyboard
Seyien opened this issue · 0 comments
Seyien commented
Steps to reproduce
when I close the keyboard, the green color follows it until it is completely closed.
Expected results
when I close the keyboard, only what is normally behind the keyboard should appear.
Actual results
when I close the keyboard, the green color follows it until it is completely closed.
Package Version
5.2.0
Platform
Android
Code sample
Code sample
controller: typeAheadController,
hideWithKeyboard: false,
hideOnUnfocus: false,
focusNode: typeAheadFocusNode,
// constraints: BoxConstraints(maxHeight: context.height * 0.7),
builder: (context, typeAheadController, typeAheadFocusNode) => TextField(
controller: typeAheadController,
focusNode: typeAheadFocusNode,
autofocus: false,
style: TextStyle(fontSize: context.width * 0.04, color: AppColors.white),
textAlign: TextAlign.left,
textAlignVertical: TextAlignVertical.bottom,
decoration: InputDecoration(
border: OutlineInputBorder(
borderRadius: BorderRadius.circular(context.width * 0.01),
borderSide: BorderSide.none,
),
hintText: hintText,
hintStyle: TextStyle(
color: Theme.of(context).hintColor,
),
fillColor: Theme.of(context).highlightColor,
filled: true,
suffixIcon: typeAheadController.text.isNotEmpty
? InkWell(
onTap: () {
typeAheadFocusNode.unfocus();
typeAheadController.clear();
},
child: Icon(
Icons.close_outlined,
size: context.width * 0.0525,
),
)
: null,
suffixIconColor: AppColors.white,
suffixIconConstraints: BoxConstraints(minWidth: context.width * 0.1),
prefixIconColor: Theme.of(context).hintColor,
prefixIconConstraints: BoxConstraints(minWidth: context.width * 0.1),
prefixIcon: Icon(
Icons.search,
size: context.width * 0.05,
),
),
),
Logs
Logs
[Paste your logs here]