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