CustomSingleChildLayoutModifier constructor

const CustomSingleChildLayoutModifier({
  1. Key? key,
  2. Widget? child,
  3. Key? modifierKey,
  4. required SingleChildLayoutDelegate delegate,
})

Creates a custom single child layout.

The delegate argument must not be null.

Implementation

const CustomSingleChildLayoutModifier({
  super.key,
  super.child,
  super.modifierKey,
  required this.delegate,
});