PositionedDirectionalModifier constructor

const PositionedDirectionalModifier({
  1. Key? key,
  2. Widget? child,
  3. Key? modifierKey,
  4. double? start,
  5. double? top,
  6. double? end,
  7. double? bottom,
  8. double? width,
  9. double? height,
})

Creates a widget that controls where a child of a Stack is positioned.

Only two out of the three horizontal values (start, end, width), and only two out of the three vertical values (top, bottom, height), can be set. In each case, at least one of the three must be null.

See also:

Implementation

const PositionedDirectionalModifier({
  super.key,
  super.child,
  super.modifierKey,
  this.start,
  this.top,
  this.end,
  this.bottom,
  this.width,
  this.height,
});