Move label away from scrollbar thumb

This commit is contained in:
Ming Ming 2022-06-18 03:56:40 +08:00
parent d183d27517
commit f90acc076d
3 changed files with 4 additions and 3 deletions

View file

@ -155,6 +155,7 @@ class _HomePhotosState extends State<HomePhotos>
topOffset: _calcAppBarExtent(context),
bottomOffset: _calcBottomAppBarExtent(context),
labelTextBuilder: (_) => _buildScrollLabel(context),
labelPadding: const EdgeInsets.symmetric(horizontal: 24),
child: ScrollConfiguration(
behavior: ScrollConfiguration.of(context)
.copyWith(scrollbars: false),

View file

@ -294,8 +294,8 @@ packages:
dependency: "direct main"
description:
path: "."
ref: "v0.1.0-nc-photos-4"
resolved-ref: d476a3826b031ab8982560a3829809b5b90dd49d
ref: "v0.1.0-nc-photos-5"
resolved-ref: a1a34c57a069dc1cffa9759f86ffab2e0c7420ca
url: "https://gitlab.com/nc-photos/flutter-draggable-scrollbar"
source: git
version: "0.1.0"

View file

@ -43,7 +43,7 @@ dependencies:
draggable_scrollbar:
git:
url: https://gitlab.com/nc-photos/flutter-draggable-scrollbar
ref: v0.1.0-nc-photos-4
ref: v0.1.0-nc-photos-5
equatable: ^2.0.0
event_bus: ^2.0.0
exifdart: