그냥 개발자 노트

  • 홈
  • 방명록

image 1

Flutter - Asset 사용(Font, Image)

Flutter에서 폰트나 이미지 등을 사용하는 방법을 확인 해 보겠습니다. 일단 적당한 폰트를 받아서 assets/fonts 폴더에 넣어줍니다. 전 무료폰트인 구글의 NotoSerif를 받아서 넣었습니다. 기본폰트가 고딕계열이라 Serif계열을 쓰면 폰트가 바뀐것을 쉽게 알 수 있습니다. 이제 새로운 Flutter 프로젝트를 생성합니다. 여기서 화면 중앙에 문구표시되는 부분이 있는데 약간만 수정합니다. children: [ Container( width: 300, child: const Text( 'You have pushed the button this many times:', style: TextStyle( fontSize: 30, ), ), ), Text( '$_counter', style: The..

Flutter 2022.07.14
1
더보기
  • 분류 전체보기 (60)
    • Flutter (11)
    • Firebase (7)
    • Unity Engine (25)
    • Unreal Engine (2)
    • 기타 (15)

Tag

ECS, 번역, cinemachine, google, Firebase, cloudfunctions, Behavior Tree, 구글, VirtualCamera, glossary, flutter, PlayFab, azurefunction, translation, coldstart, DART, 클라우드, cloud, advanced, Unity,

최근글과 인기글

  • 최근글
  • 인기글

Copyright © Kakao Corp. All rights reserved.

티스토리툴바