Flexible
1:1:1 비율로 사용하기
body: Row(
children: [
Flexible(child: Container(color: Colors.blue), flex:5),
Flexible(child: Container(color: Colors.green), flex:5),
Flexible(child: Container(color: Colors.red), flex:5),
],
)
나머지 꽉 채우기
body: Row(
children: [
Expanded(child: Container(color: Colors.blue), flex:1),
Container(width: 100, color: Colors.green,)
],
)
디버깅하는 방법 : 안드로이드 스튜디오의 파란색 물방울