header property

Widget? header
final

header indicator displace before content

If reverse is false,header displace at the top of content. If reverse is true,header displace at the bottom of content. if scrollDirection = Axis.horizontal,it will display at left or right

from 1.5.2,it has been change RefreshIndicator to Widget,but remember only pass sliver widget, if you pass not a sliver,it will throw error

Implementation

final Widget? header;