getSize method

  1. @override
Size getSize({
  1. double minWidth = 0.0,
  2. double maxWidth = double.infinity,
})

Calculates the size of the rendered object.

Implementation

@override
Size getSize({double minWidth = 0.0, double maxWidth = double.infinity}) {
  final size = super.getSize();
  return Size(size.width, size.height);
}