makeRefreshable property

Widget get makeRefreshable

Places an empty ListView behind this widget so a RefreshIndicator can be used with content that doesn't scroll on its own.

Throws if this widget is null.

Implementation

Widget get makeRefreshable {
  return Stack(children: [ListView(), this!]);
}