loading constant

FitGridCellSpec const loading

A skeleton bar standing in for content that is on its way — a row a data source is still fetching, or the rows below the end while more load.

Painted as a rounded bar rather than left blank, because a blank row reads as "nothing here" while a bar reads as "something coming".

Implementation

static const FitGridCellSpec loading = FitGridCellSpec(
  text: '',
  style: TextStyle(),
  alignment: FitGridAlignment.start,
  overflow: FitGridOverflow.clip,
  placeholder: true,
  semanticLabel: 'Loading',
);