Compare commits
2 Commits
9ac9813244
...
28db4ce298
| Author | SHA1 | Date | |
|---|---|---|---|
| 28db4ce298 | |||
| 30fdc0a144 |
@@ -121,6 +121,9 @@ class _MainPageState extends State<MainPage> {
|
|||||||
child: TextField(
|
child: TextField(
|
||||||
onChanged: (value) => setState(() {
|
onChanged: (value) => setState(() {
|
||||||
searchText = value;
|
searchText = value;
|
||||||
|
if (searchText == '') {
|
||||||
|
_onSearch();
|
||||||
|
}
|
||||||
}),
|
}),
|
||||||
decoration: InputDecoration(
|
decoration: InputDecoration(
|
||||||
hintText: 'Поиск',
|
hintText: 'Поиск',
|
||||||
@@ -241,6 +244,11 @@ class _MainPageState extends State<MainPage> {
|
|||||||
builder: (context) => const BasketPage(),
|
builder: (context) => const BasketPage(),
|
||||||
)),
|
)),
|
||||||
highlightElevation: 0,
|
highlightElevation: 0,
|
||||||
|
hoverColor: Colors.transparent,
|
||||||
|
focusColor: Colors.transparent,
|
||||||
|
hoverElevation: 0,
|
||||||
|
focusElevation: 0,
|
||||||
|
splashColor: Colors.transparent,
|
||||||
backgroundColor: Colors.transparent,
|
backgroundColor: Colors.transparent,
|
||||||
elevation: 0,
|
elevation: 0,
|
||||||
child: CircleAvatar(
|
child: CircleAvatar(
|
||||||
|
|||||||
Reference in New Issue
Block a user