buildHeader method

Widget buildHeader(
  1. int i
)

Implementation

Widget buildHeader(int i) {
  return GestureDetector(
    key: ValueKey(i),
    onTap: () => debugPrint('header $i'),
    child: Container(
      color: Colors.lightBlue.shade200,
      alignment: Alignment.centerLeft,
      child: Text("PersistentHeader $i"),
    ),
  );
}