wSample1 method

Widget wSample1()

Implementation

Widget wSample1() {
  return CustomScrollView(
    slivers: [
      buildSliverList(),
      SliverPersistentHeader(
        pinned: true,
        delegate: SliverHeaderDelegate(
          maxHeight: 80,
          minHeight: 50,
          child: buildHeader(1),
        ),
      ),
      buildSliverList(),
      SliverPersistentHeader(
        pinned: true,
        delegate: SliverHeaderDelegate.fixedHeight(
          height: 50,
          child: buildHeader(2),
        ),
      ),
      buildSliverList(20),
    ],
  );
}