FloatingSearchBarScrollNotifier constructor

const FloatingSearchBarScrollNotifier({
  1. Key? key,
  2. required Widget child,
})

Creates a FloatingSearchBarScrollNotifier.

This widget is useful, if you want to implement the common pattern with floating search bars, in which the search bar is hidden when the user scrolls down and shown again when the user scrolls up.

Implementation

const FloatingSearchBarScrollNotifier({
  Key? key,
  required this.child,
}) : super(key: key);