remove close button if search is not active

This commit is contained in:
Salvatore Giordano
2020-12-01 11:14:21 +01:00
parent 7f0c8fe25a
commit 9659008ae8
3 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -1 +1 @@
be54eb19d957de3aac70eae5513f67ef c3e639ccf9b069e37a7d1345194e6b99
+1
View File
@@ -300,6 +300,7 @@ class _ChannelListPageState extends State<ChannelListPage> {
children: [ children: [
SearchTextField( SearchTextField(
controller: _controller, controller: _controller,
showCloseButton: _isSearchActive,
), ),
Expanded( Expanded(
child: AnimatedSwitcher( child: AnimatedSwitcher(
+1 -1
View File
@@ -1,6 +1,6 @@
name: example name: example
description: A new Flutter project. description: A new Flutter project.
version: 1.0.86+88 version: 1.0.87+89
environment: environment:
sdk: ">=2.2.2 <3.0.0" sdk: ">=2.2.2 <3.0.0"