SliverPersistentHeader constructor
- Key? key,
- required SliverPersistentHeaderDelegate delegate,
- bool pinned = false,
- bool floating = false,
Creates a sliver that varies its size when it is scrolled to the start of a viewport.
Implementation
const SliverPersistentHeader({
super.key,
required this.delegate,
this.pinned = false,
this.floating = false,
});