avoid setting color with alpha,otherwise button flash bug will occur
This commit is contained in:
parent
a65e32f023
commit
21e64cce09
@ -209,7 +209,7 @@ class _RemotePageState extends State<RemotePage> {
|
||||
mini: !hideKeyboard,
|
||||
child: Icon(
|
||||
hideKeyboard ? Icons.expand_more : Icons.expand_less),
|
||||
backgroundColor: MyTheme.accent50,
|
||||
backgroundColor: MyTheme.accent,
|
||||
onPressed: () {
|
||||
setState(() {
|
||||
if (hideKeyboard) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user