performLayout method
Called to perform the actual layout computation for this render object.
Implementation
@override
void performLayout(Constraints constraints) {
final boxConstraints = BoxConstraints.asBox(constraints);
final int w = indicatorWidth ?? boxConstraints.maxWidth;
size = Size(w, 1);
}