feature(collections): Роутинг на поиск
This commit is contained in:
@@ -62,7 +62,20 @@ class CollectionsAppBar extends StatelessWidget implements PreferredSizeWidget {
|
|||||||
if (!isDebug) return SizedBox();
|
if (!isDebug) return SizedBox();
|
||||||
return Row(
|
return Row(
|
||||||
children: [
|
children: [
|
||||||
AppBarIconButton(icon: Assets.icons.typeSearch, onTap: () {}),
|
AppBarIconButton(
|
||||||
|
icon: Assets.icons.typeSearch,
|
||||||
|
onTap: () {
|
||||||
|
context.pushRoute(
|
||||||
|
CollectionSearchRoute(
|
||||||
|
onCollectionSelect: (collection) {
|
||||||
|
context.pushRoute(
|
||||||
|
CollectionDetailRoute(collection: collection),
|
||||||
|
);
|
||||||
|
},
|
||||||
|
),
|
||||||
|
);
|
||||||
|
},
|
||||||
|
),
|
||||||
AppBarIconButton(icon: Assets.icons.typeDownload, onTap: () {}),
|
AppBarIconButton(icon: Assets.icons.typeDownload, onTap: () {}),
|
||||||
AppBarIconButton(
|
AppBarIconButton(
|
||||||
icon: Assets.icons.typeSort,
|
icon: Assets.icons.typeSort,
|
||||||
|
|||||||
Reference in New Issue
Block a user