728x90
๋ฐ˜์‘ํ˜•
[Flutter] ํ”Œ๋Ÿฌํ„ฐ ์›น ์ด์Šˆ ๊ธฐ๋ก

์ €์˜ ์›น์€ ์ •์  ํŽ˜์ด์ง€์ด๊ณ  ๊นƒํ—™ ํ˜ธ์ŠคํŒ…์„ ์ด์šฉํ•˜๊ณ  ์žˆ์Šต๋‹ˆ๋‹ค. [1] ์ข…์ข… ์‚ฌํŒŒ๋ฆฌ์—์„œ ํ๋ฆฌ๊ฒŒ ๋‚˜์˜ฌ ๋•Œ๊ฐ€ ์žˆ์Œ (ํฌ๋กฌ์—์„œ๋Š” ์•ˆ๊ทธ๋Ÿฐ ๋“ฏ) [2] ์ข…์ข… ํ…์ŠคํŠธ ์Šคํƒ€์ผ์ด ์„ค์ • ํ•ด์ค€ ๊ฒƒ๊ณผ ๋‹ค๋ฅด๊ฒŒ ๋‚˜์˜ค๋Š” ๊ฒฝ์šฐ๊ฐ€ ์žˆ์Œ ์ด๊ฒƒ์€ html ๋ Œ๋”๋Ÿฌ๋ฅผ ์‚ฌ์šฉํ–ˆ์„ ๋•Œ ์ฃผ๋กœ ๋ฐœ์ƒํ–ˆ๋˜ ๊ฒƒ ๊ฐ™์Šต๋‹ˆ๋‹ค. (html ๋ Œ๋”๋Ÿฌ ๋ช‡๋ฒˆ, canvaskit ๋ Œ๋”๋Ÿฌ ๋ช‡๋ฒˆ ์ด๋ ‡๊ฒŒ ์ •๋Ÿ‰์ ์œผ๋กœ ํ…Œ์ŠคํŠธ๋ฅผ ์•ˆํ–ˆ์–ด์„œ ์ •ํ™•ํ•˜์ง€๋Š” ์•Š์•„์š”!) [3] ์›น > PDF ๋‚ด๋ณด๋‚ด๊ธฐ ์งค๋ฆผ ์ด์Šˆ ๋ฆฌํฌํŒ… ํ•จ. html, canvaskit ๋ Œ๋”๋Ÿฌ ๋‘˜๋‹ค ๊ทธ๋ ‡๋‹ค๊ณ  ํ…Œ์ŠคํŠธ ํ•ด์ฃผ์‹ฌ. https://github.com/flutter/flutter/issues/91671#issuecomment-942055373 [Proposal] Support Print Web app To PDF from t..

[Flutter] ํ”Œ๋Ÿฌํ„ฐ ์›น์•ฑ ๋ฐฐํฌ (Web App Deployment)

Build and release a web app ๋ฌธ์„œ๋ฅผ ๋ด์ฃผ๋ฉด ๋ฉ๋‹ˆ๋‹ค. ๋ฌธ์„œ์˜ ๋ชฉ์ฐจ๋Š” ์•„๋ž˜์™€ ๊ฐ™์€๋ฐ์š”! ์›น์—์„œ ์ด๋ฏธ์ง€ ์ฒ˜๋ฆฌ ์›น ๋ Œ๋”๋Ÿฌ ์„ ํƒ ์ถ•์†Œ ์ถœ์‹œ๋ฅผ ์œ„ํ•œ ์•ฑ ๋นŒ๋“œ ์›น์— ๋ฐฐํฌ ์ €๋Š” ๊ฐ„๋‹จํ•œ ์›น์ด์—ฌ์„œ ์ด๋ฏธ์ง€ ์ฒ˜๋ฆฌ / ๋ Œ๋”๋Ÿฌ ์„ ํƒ / ์ถ•์†Œ๋ฅผ ๊ฑด๋„ˆ๋›ฐ๊ณ  ๋ฆด๋ฆฌ์ฆˆ ๋นŒ๋“œ & ๋ฐฐํฌ๋งŒ ํ•ด๋ณด๊ฒ ์Šต๋‹ˆ๋‹ค! ์›น์€ Image๋ฅผ ํ‘œ์‹œ ํ•˜๋Š” ํ‘œ์ค€ ์œ„์ ฏ์„ ์ง€์›ํ•ฉ๋‹ˆ๋‹ค. ๊ทธ๋Ÿฌ๋‚˜ ์›น ๋ธŒ๋ผ์šฐ์ €๋Š” ์‹ ๋ขฐํ•  ์ˆ˜ ์—†๋Š” ์ฝ”๋“œ๋ฅผ ์•ˆ์ „ํ•˜๊ฒŒ ์‹คํ–‰ํ•˜๋„๋ก ๊ตฌ์ถ•๋˜์—ˆ๊ธฐ ๋•Œ๋ฌธ์— ๋ชจ๋ฐ”์ผ ๋ฐ ๋ฐ์Šคํฌํ†ฑ ํ”Œ๋žซํผ๊ณผ ๋น„๊ตํ•˜์—ฌ ์ด๋ฏธ์ง€๋กœ ์ˆ˜ํ–‰ํ•  ์ˆ˜ ์žˆ๋Š” ์ž‘์—…์—๋Š” ํŠน์ • ์ œํ•œ์ด ์žˆ์Šต๋‹ˆ๋‹ค. ๋ฌธ์„œ์— ์œ„์™€ ๊ฐ™์ด ์ ํ˜€์žˆ๋Š” ๋ถ€๋ถ„์€ ์ผ๋‹จ ๋ฐฐํฌํ•ด๋ณด๊ณ  ๋ณด๋ ค๊ณ  ํ•ฉ๋‹ˆ๋‹ค. (+ ์ €๋Š” ๋กœ์ปฌ ์ด๋ฏธ์ง€ ํ•˜๋‚˜ ์‚ฌ์šฉํ•˜๋Š” ๋ฐ ๋ณ„ ๋ฌธ์ œ ์—†์—ˆ์Šต๋‹ˆ๋‹ค) [1] ์ถœ์‹œ๋ฅผ ์œ„ํ•œ ์•ฑ ๋นŒ๋“œ ์•„๋ž˜ ๋ช…๋ น์„ ์‚ฌ์šฉํ•ด์„œ ๋ฐฐํฌ์šฉ ์•ฑ์„ ๋นŒ๋“œ..

[Flutter] ํ”„๋กœ์ ํŠธ ๋ณ„๋กœ ํ”Œ๋Ÿฌํ„ฐ ๋ฒ„์ „์„ ๋‹ค๋ฅด๊ฒŒ ํ•ด์ฃผ๋Š” ๋ฐฉ๋ฒ•

ํ”Œ๋Ÿฌํ„ฐ ๋ฒ„์ „ ์—…๊ทธ๋ ˆ์ด๋“œ ๊ธ€์—์„œ ํ•ด์ค€ ๊ฒƒ์€ ๋งฅ์— ์„ค์น˜๋œ flutter SDK ๋ฒ„์ „์„ ์—…๋ฐ์ดํŠธํ•œ ๊ฒƒ์ž…๋‹ˆ๋‹ค. ํ•ด๋‹น Flutter SDK๋ฅผ flutter SDK path๋กœ ์ฐธ์กฐํ•˜๊ณ  ์žˆ๋Š” ๋‹ค๋ฅธ ํ”„๋กœ์ ํŠธ๋“ค๋„ ๋ชจ๋‘ ๊ฐ™์€ ํ”Œ๋Ÿฌํ„ฐ ๋ฒ„์ „์„ ์“ฐ๊ฒŒ ๋˜๊ฒ ์ฃ ? ๊ทธ๋Ÿผ ํ”„๋กœ์ ํŠธ ๋ณ„๋กœ ๋‹ค๋ฅธ ๋ฒ„์ „์„ ์“ฐ๊ณ  ์‹ถ๋‹ค๋ฉด ์–ด๋–ป๊ฒŒ ํ•ด์•ผํ• ๊นŒ์š”? (ํŒŒ์ด์ฌ ๊ฐ€์ƒํ™˜๊ฒฝ์ฒ˜๋Ÿผ ์•„์ฃผ ๊ฐ„๋‹จํ•˜๊ณ  ๊น”๋”ํ•˜๊ฒŒ ํ”„๋กœ์ ํŠธ๋ณ„๋กœ ๋‹ค๋ฅด๊ฒŒ ํ™˜๊ฒฝ์„ ์„ค์ •ํ•  ์ˆ˜ ์—†๋Š” ๊ฒƒ ๊ฐ™์Šต๋‹ˆ๋‹ค.... ๐Ÿฅฒ) [1] ๋ฐฐ๊ฒฝ์ง€์‹ > pubspec file์˜ Dart, Flutter SDK ๋ฒ„์ „ ์ œ์•ฝ ์กฐ๊ฑด - ๋ฌธ์„œ: https://dart.dev/tools/pub/pubspec#sdk-constraints # Dart SDK constraints pubspec.yaml ์˜ ๋„ค๋ชจ์นœ ๋ถ€๋ถ„์€ Dart SDK์˜ ๋ฒ„์ „..

[Flutter] Marquee Widget ๋งŒ๋“ค๊ธฐ (2) - scroll

Marquee Widget ๋งŒ๋“ค๊ธฐ (1) - alternate ์—์„œ ์ด์–ด์ง€๋Š” ๊ธ€์ž…๋‹ˆ๋‹ค. ์ด ๊ธ€์—์„œ๋Š” 1๋ฒˆ ํƒ€์ž… (๊ณ„์† ํ•œ๋ฐฉํ–ฅ์œผ๋กœ ํ˜๋Ÿฌ๊ฐ€๋Š” Marquee) ์„ ๋งŒ๋“ค์–ด๋ณธ ๊ฒƒ์„ ๊ธฐ๋กํ•ฉ๋‹ˆ๋‹ค. ์ฐธ๊ณ ๋กœ Marquee๋Š” flutter package๊ฐ€ ์ด๋ฏธ ๋ช‡๊ฐœ์žˆ๋Š”๋ฐ, text ํ•˜๋‚˜๋งŒ ๋ฐ›์„ ์ˆ˜ ์žˆ๊ฒŒ ๊ตฌํ˜„๋˜์–ด์žˆ๋”๋ผ๊ตฌ์š”,, ์ €๋Š” ์ด๋ฏธ์ง€ + text๋กœ ๋œ list๋ฅผ ๋ฐ›์„ ์ˆ˜ ์žˆ๋Š” ์œ„์ ฏ์œผ๋กœ ๋งŒ๋“ค์–ด๋ณด๋ ค๊ณ  ํ•ฉ๋‹ˆ๋‹ค. text๋งŒ scrollํ•˜๊ธฐ ์›ํ•˜์‹ ๋‹ค๋ฉด ์ด๋ฏธ ์ž˜๋˜์–ด์žˆ๋Š” package๋ฅผ ์“ฐ์‹œ๊ธฐ๋ฅผ ์ถ”์ฒœ๋“œ๋ฆฝ๋‹ˆ๋‹ค. [1] ์ฝ”๋“œ ์ด๋ ‡๊ฒŒ Marquee ์œ„์ ฏ์„ ๋งŒ๋“ค์–ด์ฃผ๊ณ  ์•ฑ์—์„œ ํ…Œ์ŠคํŠธ ํ•ด๋ด…๋‹ˆ๋‹ค. [2] ์ฝ”๋“œ ์„ค๋ช… ์ด์ „ ๊ธ€์˜ alternate marquee์™€ ๋‹ค๋ฅธ ์ ์€ build ๋ฉ”์†Œ๋“œ์™€ scroll ๋ฉ”์†Œ๋“œ ๋ฐ–์— ์—†๋Š” ๋ฐ์š” ์ด๊ฑฐ ์œ„์ฃผ๋กœ ์‚ดํŽด๋ณด๊ฒ ..

๊ณต์ง€์‚ฌํ•ญ
Total
399,591
Today
442
Yesterday
497
๋งํฌ
«   2021/12   »
์ผ ์›” ํ™” ์ˆ˜ ๋ชฉ ๊ธˆ ํ† 
      1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31  
๊ธ€ ๋ณด๊ด€ํ•จ