mirror of
https://gitlab.com/nkming2/nc-photos.git
synced 2025-01-23 01:06:21 +01:00
Tweak style
This commit is contained in:
parent
84b06a5cdd
commit
4b590e85ba
2 changed files with 16 additions and 22 deletions
|
@ -194,19 +194,16 @@ class _AlbumBrowserState extends State<AlbumBrowser>
|
||||||
controller: _scrollController,
|
controller: _scrollController,
|
||||||
slivers: [
|
slivers: [
|
||||||
_buildAppBar(context),
|
_buildAppBar(context),
|
||||||
SliverPadding(
|
isEditMode
|
||||||
padding: const EdgeInsets.only(top: 8),
|
? buildDraggableItemList(
|
||||||
sliver: isEditMode
|
maxCrossAxisExtent: thumbSize.toDouble(),
|
||||||
? buildDraggableItemList(
|
onMaxExtentChanged: (value) {
|
||||||
maxCrossAxisExtent: thumbSize.toDouble(),
|
_itemListMaxExtent = value;
|
||||||
onMaxExtentChanged: (value) {
|
},
|
||||||
_itemListMaxExtent = value;
|
)
|
||||||
},
|
: buildItemStreamList(
|
||||||
)
|
maxCrossAxisExtent: thumbSize.toDouble(),
|
||||||
: buildItemStreamList(
|
),
|
||||||
maxCrossAxisExtent: thumbSize.toDouble(),
|
|
||||||
),
|
|
||||||
),
|
|
||||||
],
|
],
|
||||||
);
|
);
|
||||||
if (isEditMode) {
|
if (isEditMode) {
|
||||||
|
|
|
@ -196,15 +196,12 @@ class _DynamicAlbumBrowserState extends State<DynamicAlbumBrowser>
|
||||||
child: CustomScrollView(
|
child: CustomScrollView(
|
||||||
slivers: [
|
slivers: [
|
||||||
_buildAppBar(context),
|
_buildAppBar(context),
|
||||||
SliverPadding(
|
SliverIgnorePointer(
|
||||||
padding: const EdgeInsets.only(top: 8),
|
ignoring: isEditMode,
|
||||||
sliver: SliverIgnorePointer(
|
sliver: SliverOpacity(
|
||||||
ignoring: isEditMode,
|
opacity: isEditMode ? .25 : 1,
|
||||||
sliver: SliverOpacity(
|
sliver: buildItemStreamList(
|
||||||
opacity: isEditMode ? .25 : 1,
|
maxCrossAxisExtent: thumbSize.toDouble(),
|
||||||
sliver: buildItemStreamList(
|
|
||||||
maxCrossAxisExtent: thumbSize.toDouble(),
|
|
||||||
),
|
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
|
Loading…
Reference in a new issue