ParentSize constructor

const ParentSize({
  1. Key? key,
  2. required Widget builder(
    1. BuildContext context,
    2. Size size
    ),
  3. bool debounce = false,
  4. int debounceDuration = 100,
})

Creates a ParentSize widget.

Implementation

const ParentSize({
  super.key,
  required this.builder,
  this.debounce = false,
  this.debounceDuration = 100,
});