toStringShort method

  1. @override
String toStringShort ()
override

A short, textual description of this widget.

Implementation

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