mirrored_repositories/HistoryOfMe/lib
part of widgets;

class DiaryFilterHeaderDelegate extends SliverPersistentHeaderDelegate {
  DiaryFilterHeaderDelegate(
    this.child,
  );
  final Widget child;

  @override
  Widget build(
      BuildContext context, double shrinkOffset, bool overlapsContent) {
    return child;
  }

  @override
  double get maxExtent => 52.0;

  @override
  double get minExtent => 52.0;

  @override
  bool shouldRebuild(SliverPersistentHeaderDelegate oldDelegate) {
    return false;
  }
}
