Table Class 의 Cell 각각의 너비 및 높이 지정하기
·
Flutter
IntrinsicColumnWidth(), FlexColumnWidth(), FixedColumnWidth(원하는 크기) Table을 만들던 중 table 각 cell의 크기를 지정하고 싶은데 잘 안 되는 것이다... 구글을 아무리 뒤져보아도 TableCell 에 Container를 지정해서 그 안에 크기를 쓰면 된다고 했는데 나는 자꾸 이런 모양으로 한쪽으로 치우치거나 전체 화면의 비율을 꽉 채우는 모양만 나오는 것이다. 그래서 지정한 것이 바로 columnWidths 이다! Table class를 살펴보면 columnWidths 와 defaultColumnWidth 가 있다. Table({ super.key, this.children = const [], this.columnWidths, this.d..
해니01_15
'플러터Table크기' 태그의 글 목록