PositionUnit.childSize constructor

const PositionUnit.childSize([
  1. Object? key
])

Creates a position unit based on a child element's size.

The optional key parameter can reference a specific child element.

Implementation

const factory PositionUnit.childSize([Object? key]) = PositionChildSize;