mirror of
https://gitlab.com/nkming2/nc-photos.git
synced 2025-02-25 02:48:54 +01:00
Fix draggable scrollbar overlapping app bar and status bar
This commit is contained in:
parent
0e8d125a8c
commit
49dca92f70
3 changed files with 5 additions and 3 deletions
|
@ -123,6 +123,8 @@ class _HomePhotosState extends State<HomePhotos>
|
||||||
child: DraggableScrollbar.semicircle(
|
child: DraggableScrollbar.semicircle(
|
||||||
controller: _scrollController,
|
controller: _scrollController,
|
||||||
overrideMaxScrollExtent: scrollExtent,
|
overrideMaxScrollExtent: scrollExtent,
|
||||||
|
// status bar + app bar
|
||||||
|
topOffset: MediaQuery.of(context).padding.top + kToolbarHeight,
|
||||||
child: ScrollConfiguration(
|
child: ScrollConfiguration(
|
||||||
behavior: ScrollConfiguration.of(context)
|
behavior: ScrollConfiguration.of(context)
|
||||||
.copyWith(scrollbars: false),
|
.copyWith(scrollbars: false),
|
||||||
|
|
|
@ -229,8 +229,8 @@ packages:
|
||||||
dependency: "direct main"
|
dependency: "direct main"
|
||||||
description:
|
description:
|
||||||
path: "."
|
path: "."
|
||||||
ref: "v0.1.0-nc-photos-1"
|
ref: "v0.1.0-nc-photos-2"
|
||||||
resolved-ref: d97c03ddea7b6bae0e170430e0cb7c27e725ff2a
|
resolved-ref: "233d360e24f101ca9e33c7a1332dadd20fc20b71"
|
||||||
url: "https://gitlab.com/nkming2/flutter-draggable-scrollbar"
|
url: "https://gitlab.com/nkming2/flutter-draggable-scrollbar"
|
||||||
source: git
|
source: git
|
||||||
version: "0.1.0"
|
version: "0.1.0"
|
||||||
|
|
|
@ -35,7 +35,7 @@ dependencies:
|
||||||
draggable_scrollbar:
|
draggable_scrollbar:
|
||||||
git:
|
git:
|
||||||
url: https://gitlab.com/nkming2/flutter-draggable-scrollbar
|
url: https://gitlab.com/nkming2/flutter-draggable-scrollbar
|
||||||
ref: v0.1.0-nc-photos-1
|
ref: v0.1.0-nc-photos-2
|
||||||
equatable: ^2.0.0
|
equatable: ^2.0.0
|
||||||
event_bus: ^2.0.0
|
event_bus: ^2.0.0
|
||||||
exifdart:
|
exifdart:
|
||||||
|
|
Loading…
Reference in a new issue