Spacer Kotlin 확장 함수

: ) YOUNG·2024년 12월 9일
1

Kotlin 알고리즘

목록 보기
28/28

Spacer Kotlin 확장 함수


  @Composable
  fun Dp.FillMaxWidthSpacer() {
      Spacer(modifier = Modifier.fillMaxWidth().height(this))
  } // End of Dp.Spacer()

Spacer를 함수화해서, 최대한 단순화.

0개의 댓글