size property

  1. @override
LayoutSize get size
override

Throws an exception - size is not available in dry layout.

Dry layout doesn't set the child's actual size.

Implementation

@override
LayoutSize get size {
  throw Exception('size is not supported in dry delegate');
}