useElementSize method

bool useElementSize(
  1. T element
)

Whether the Widget returned from build should be forced to have the same size as element.

This only applies to SceneElements which have a Size (LayedOutSceneElements and LayoutDelegateSceneElements with a SizeLayoutDelegate).

The default implementation always returns true.

Implementation

bool useElementSize(T element) => true;