errorParts.add(DiagnosticsProperty<BoxConstraints>('The constraints that applied to the $runtimeType were',constraints,style:DiagnosticsTreeStyle.errorProperty));
errorParts.add(DiagnosticsProperty<Size>('The exact size it was given was',_size,style:DiagnosticsTreeStyle.errorProperty));
errorParts.add(ErrorHint('See https://flutter.dev/docs/development/ui/layout/box-constraints for more information.'));
throwFlutterError.fromParts(errorParts);
throwFlutterError.fromParts(<DiagnosticsNode>[
...information,
DiagnosticsProperty<BoxConstraints>('The constraints that applied to the $runtimeType were',constraints,style:DiagnosticsTreeStyle.errorProperty),
DiagnosticsProperty<Size>('The exact size it was given was',_size,style:DiagnosticsTreeStyle.errorProperty),
ErrorHint('See https://flutter.dev/docs/development/ui/layout/box-constraints for more information.'),