본문으로 건너뛰기

Flutter - positioning - when to use Positioned vs Align

Bullet points

  • Positioned can only be used within a Stack and positions a child relative to the Stack size. (ref)
  • Positioned is an offset based alignment which uses DP as unit (ref)
  • Align use a % of the parent size (ref)

References