GrowingWidget constructor

const GrowingWidget({
  1. Key? key,
  2. required Widget child,
  3. required double availableHeight,
  4. required double maxHeight,
})

Creates a GrowingWidget.

The child is the widget to be displayed inside the GrowingWidget. The availableHeight is the maximum height that the GrowingWidget can grow to. The maxHeight is the maximum height that the GrowingWidget can reach.

Implementation

const GrowingWidget({
  super.key,
  required this.child,
  required this.availableHeight,
  required this.maxHeight,
});