improve layout
This commit is contained in:
@@ -277,6 +277,7 @@ class SearchScreen extends HookConsumerWidget {
|
|||||||
pinned: true,
|
pinned: true,
|
||||||
automaticallyImplyLeading: false,
|
automaticallyImplyLeading: false,
|
||||||
toolbarHeight: isEditMode ? 0 : kToolbarHeight + 56,
|
toolbarHeight: isEditMode ? 0 : kToolbarHeight + 56,
|
||||||
|
titleSpacing: 0.0,
|
||||||
title: isEditMode
|
title: isEditMode
|
||||||
? null
|
? null
|
||||||
: Column(
|
: Column(
|
||||||
@@ -331,7 +332,9 @@ class SearchScreen extends HookConsumerWidget {
|
|||||||
),
|
),
|
||||||
),
|
),
|
||||||
const SizedBox(height: 8),
|
const SizedBox(height: 8),
|
||||||
SizedBox(
|
Padding(
|
||||||
|
padding: const EdgeInsets.only(left: 16.0),
|
||||||
|
child: SizedBox(
|
||||||
height: 48,
|
height: 48,
|
||||||
child: ContainerChips(
|
child: ContainerChips(
|
||||||
selectedContainer: selectedContainer.value,
|
selectedContainer: selectedContainer.value,
|
||||||
@@ -339,7 +342,8 @@ class SearchScreen extends HookConsumerWidget {
|
|||||||
if (container != null) {
|
if (container != null) {
|
||||||
if (await ref
|
if (await ref
|
||||||
.read(
|
.read(
|
||||||
selectedContainerProvider.notifier,
|
selectedContainerProvider
|
||||||
|
.notifier,
|
||||||
)
|
)
|
||||||
.authenticateContainer(container)) {
|
.authenticateContainer(container)) {
|
||||||
selectedContainer.value = container;
|
selectedContainer.value = container;
|
||||||
@@ -353,6 +357,7 @@ class SearchScreen extends HookConsumerWidget {
|
|||||||
},
|
},
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
bottom: PreferredSize(
|
bottom: PreferredSize(
|
||||||
|
|||||||
Reference in New Issue
Block a user