debugTypicalAncestorWidgetDescription property

  1. @override
String debugTypicalAncestorWidgetDescription
override

Describes the RenderObjectWidget that is typically used to set up the ParentData that applyParentData will write to.

This is only used in error messages to tell users what widget typically wraps this ParentDataWidget.

Returns debugTypicalAncestorWidgetClass by default as a String. This can be overridden to describe more than one Type of valid parent.

Implementation

@override
String get debugTypicalAncestorWidgetDescription => 'SliverWithKeepAliveWidget or TwoDimensionalViewport';