list static method

Widget list({
  1. int count = 6,
  2. double avatar = 44,
})

count list-tile placeholders, e.g. the first load of a list. USkeleton.list(count: 6)

Implementation

static Widget list({int count = 6, double avatar = 44}) => ListView.builder(
  physics: const NeverScrollableScrollPhysics(),
  itemCount: count,
  itemBuilder: (BuildContext context, int index) => listTile(avatar: avatar),
);