1. override
String toStringShort()

A short, textual description of this widget.

Source

@override
String toStringShort() {
  String type = (width == double.INFINITY && height == double.INFINITY) ?
                '$runtimeType.expand' : '$runtimeType';
  return key == null ? '$type' : '$type-$key';
}