본문 바로가기

프로젝트48

[pommotime] 프로젝트 생성 및 UI 설정 flutter 프로젝트 생성 터미널에서 flutter create pomotime을 통해 플러터 프로젝트 파일을 설정했다. 파인더에서 바로 터미널이나 vscode를 열 수 있게 설정해서 편히 이용할 수 있다. https://github.com/soaringwave/pomotime/commit/46bcd26d41b10567675b5fb081450596c08cd8e4 Create pomotimer project · soaringwave/pomotime@46bcd26 soaringwave committed Oct 24, 2023 github.com UI 설정 전체적으로 한 페이지에서 필요한 하나의 동작을 보여주고자 여러 번에 걸쳐 위와 같이 디자인했다. 나중에 작업하는 뽀모도로뿐만 아니라 휴식 뽀모도로도 보여.. 2023. 11. 3.
[웹툰 앱 만들기] 웹툰 제목 overflow & 웹툰 에피소드 수 조정 웹툰 에피소드 제목 overflow 웹툰 에피소드 제목이 길 때 왼쪽 사진처럼 overflow로 인한 에러가 일어난다. 그래서 에피소드 제목이 길 때 특정 글자 수 뒷부분을 ...으로 변경하여 보여주도록 설정했다. Text( episode.title.length >= 23 ? '${episode.title.substring(0, 23)}...' : episode.title, style: const TextStyle( fontSize: 16, ), https://github.com/soaringwave/Flutter-studying/commit/27d139c7dc297e66ce7eb7c6caad8578478957a3 웹툰 에피소드 제목을 나타내는 Text 위젯이다. 만약 총 글자 수가 23 이상이라면 su.. 2023. 10. 26.
[웹툰 앱 만들기] shared_preferences 이용해 좋아요 설정 나타내기 위 화면의 헤더의 오른쪽 하트를 통해 본인이 좋아요를 누르거나 좋아요를 취소할 수 있다. 휴대폰의 저장소를 이용해 앱을 재실행해도 기록이 남아 있다. 설정 방법은 아래와 같다. 1. shared_preferences install https://pub.dev/packages/shared_preferences shared_preferences | Flutter Package Flutter plugin for reading and writing simple key-value pairs. Wraps NSUserDefaults on iOS and SharedPreferences on Android. pub.dev installing 탭의 설명대로 install한다. 추가로 Readme 탭에서 활용방법을 확인할 .. 2023. 10. 25.
[웹툰 앱 만들기] url_launcher 이용해서 특정 url 창 띄우기 다음 동영상처럼 특정 에피소드 Container를 클릭했을 때 창이 열리도록 url_launcher를 사용했다. 방법은 아래와 같다. 1. url_launcher install https://pub.dev/packages/url_launcher url_launcher | Flutter Package Flutter plugin for launching a URL. Supports web, phone, SMS, and email schemes. pub.dev 이곳에서 지시 사항대로 install을 진행한다. 진행 중에 cocoapods가 없다며 에러가 나서 아래 포스트대로 실행했다. https://soaringwave.tistory.com/221 갑자기 CocoaPods not installed. pub.d.. 2023. 10. 23.