From 0f015f5702437b7b83b6ff52acf8be7ade771231 Mon Sep 17 00:00:00 2001 From: Thibault Deckers Date: Fri, 13 Sep 2019 19:00:59 +0900 Subject: [PATCH] album: allow tap on thumbnail behind overlapping header --- lib/widgets/album/thumbnail_collection.dart | 4 +++- pubspec.lock | 8 +++++--- pubspec.yaml | 2 ++ 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/lib/widgets/album/thumbnail_collection.dart b/lib/widgets/album/thumbnail_collection.dart index e909b0551..db5d2716c 100644 --- a/lib/widgets/album/thumbnail_collection.dart +++ b/lib/widgets/album/thumbnail_collection.dart @@ -118,7 +118,9 @@ class SectionSliver extends StatelessWidget { } } return SliverStickyHeader( - header: header, + header: IgnorePointer( + child: header, + ), sliver: SliverGrid( delegate: SliverChildBuilderDelegate( (sliverContext, index) { diff --git a/pubspec.lock b/pubspec.lock index 781bb300c..8cf7f2e3f 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -79,9 +79,11 @@ packages: flutter_sticky_header: dependency: "direct main" description: - name: flutter_sticky_header - url: "https://pub.dartlang.org" - source: hosted + path: "." + ref: HEAD + resolved-ref: d30ab5fbe87f590fdf16201e8195e8449344804f + url: "git://github.com/deckerst/flutter_sticky_header.git" + source: git version: "0.4.0" flutter_svg: dependency: "direct main" diff --git a/pubspec.yaml b/pubspec.yaml index 3e332fe4c..15b1dbdc4 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -20,6 +20,8 @@ dependencies: collection: flushbar: flutter_sticky_header: + git: + url: git://github.com/deckerst/flutter_sticky_header.git flutter_svg: geocoder: google_maps_flutter: