buildSlivers method

  1. @override
List<Widget> buildSlivers()
override

Implementation

@override
List<Widget> buildSlivers() {
  final List<Widget> slivers = [];
  if (sliver.isNotEmpty) slivers.addAll(sliver);
  if (header != null) slivers.insert(0, header!);
  if (footer != null) slivers.add(footer!);
  return slivers;
}