๐ป ๊ฐ๋ฐ/Flutter
์ง๋ ์๊ฐ์ Column์ ๋ํด ์ ๋ฆฌํ์๋ค. ์ค๋ ์ ๋ฆฌํ ๋ด์ฉ์ Column์ผ๋ก ์์ ฏ๋ค์ ๋ณด์ฌ์ค ๋ ๋ฐ์ํ ์ ์๋ ๋ฌธ์ ๋ฅผ ํด๊ฒฐํด์ฃผ๋ ๋ ๋ค๋ฅธ ์์ ฏ์ด๋ค. import 'package:flutter/material.dart'; void main() { return runApp(MyApp()); } class MyApp extends StatelessWidget { @override Widget build(BuildContext context) { return MaterialApp( home: Scaffold( appBar: AppBar( title: Text("Column ์์ "), ), body: Column( mainAxisAlignment: MainAxisAlignment.spaceEvenly, ve..
๐ป ๊ฐ๋ฐ/Flutter
์ง๋ ์๊ฐ Container์ ์ด์ด ์ค๋์ Column, Row, Expanded์ ์์๋ณด๋ ค๊ณ ํ๋ค. ์ด์ ํฌ์คํ
์์ ๋ถ๊ฐ๋ฅํ๋ Container ๊ฐ์ ๋ถ๋ฆฌ๋ฅผ ์ด๋ฌํ ์์ ฏ๋ค์ ์ด์ฉํ์ฌ ํด๊ฒฐํ ์ ์๋ค. https://codekodo.tistory.com/95 3. Container, Padding ์ค๋ ์์๋ณผ ๊ฒ์ Container์ Padding ์์ ฏ์ด๋ค. ๊ฐ์ด ๋ฌถ์ด์ ์์ฑํ๋ ์ด์ ๋ ๋ ์์ ฏ์ด ๊ฑฐ์ ์ ์ฌํ๊ธฐ ๋๋ฌธ์ด๋ค. Container ์ฐ์ ๊ณต์๋ฌธ์์๋ Container๊ฐ ์์ ์์ ฏ์ ์ปค์คํฐ๋ง์ด์ง ํ ์ ์๋ ์์ ฏ์ด codekodo.tistory.com ์ค๋ ์์๋ณผ ๊ฒ์ Container์ Padding ์์ ฏ์ด๋ค. ๊ฐ์ด ๋ฌถ์ด์ ์์ฑํ๋ ์ด์ ๋ ๋ ์์ ฏ์ด ๊ฑฐ์ ์ ์ฌํ๊ธฐ ๋๋ฌธ์ด๋ค. ์ฐ์ ๊ณต์๋ฌธ์์๋ Co..
๐ป ๊ฐ๋ฐ/Flutter
์ค๋ ์์๋ณผ ๊ฒ์ Container์ Padding ์์ ฏ์ด๋ค. ๊ฐ์ด ๋ฌถ์ด์ ์์ฑํ๋ ์ด์ ๋ ๋ ์์ ฏ์ด ๊ฑฐ์ ์ ์ฌํ๊ธฐ ๋๋ฌธ์ด๋ค. Container ์ฐ์ ๊ณต์๋ฌธ์์๋ Container๊ฐ ์์ ์์ ฏ์ ์ปค์คํฐ๋ง์ด์ง ํ ์ ์๋ ์์ ฏ์ด๋ผ๊ณ ๋์์๋ค. ์ด ๋ง์ ์ฆ, ์ฌ๋ฐฑ, ๊ฐ๊ฒฉ, ํ
๋๋ฆฌ ๋๋ ๋ฐฐ๊ฒฝ์์ ์ถ๊ฐํ๊ณ ์ถ์ ๋ Container๋ฅผ ์ฌ์ฉํ ์ ์๋ค๋ ๊ฒ์ด๋ค. ์ค์ ๋ก Cotainer ์์ ฏ์ ๋ค์ํ ์์ฑ์ ๊ฐ์ง๊ณ ์๋ค. Container Container({ Key? key, AlignmentGeometry? alignment, EdgeInsetsGeometry? padding, Color? color, Decoration? decoration, Decoration? foregroundDecoration, dou..
๐ป ๊ฐ๋ฐ/์ค๋์ ์ฝ์ง
์ค๋ฅ ๋ฐ์ ์ธํด์ ์งํํ๋ฉด์ ์์ฑํ ์ฝ๋๋ค์ ๊น๋ฉ์ด ์๋ ๊นํ๋ธ์ ์ฌ๋ ค๋จ์๋ค. ์๋๋ ํ์ฌ ๊น๋ฉ์ ์ฌ์ฉํด์ผํ๋๋ฐ ์ค๋ฅ ๋๋ฌธ์ ์ฌ๋ผ๊ฐ์ง ์์์ ์ฐ์ Private Repository ๋ฅผ ์์ฑํด์ ์ปค๋ฐ์ ํด์คฌ๋ค. ๊ทธ๋ฌ๋ ์ค ์ธํด ๋ง์ง๋ง ๋ ์ธ ์ค๋ ๋ชจ๋ ์ฝ๋๋ฅผ ๊น๋ฉ์ผ๋ก ๋ค์ ์ฎ๊ธฐ๋ ค๊ณ ํ๋๋ฐ ๋ฐ์ํ ์ค๋ฅ... ์ฐ์ git remote rm origin ์ผ๋ก ์ฐ๊ฒฐ๋ Repository ์ ํด์ ํ๊ณ git remote rm origin "์๋ก์ด ๊น๋ฉ ssh ์ฃผ์" ๋ก ๋ค์ ์ฐ๊ฒฐํ๊ณ push ๋ฅผ ์งํํ๋๋ฐ? ์ค๋ฅ ๋ด์ฉ refusing to merge unrelated histories ์ด๋ฐ ์ค๋ฅ๊ฐ ๋ด๋ค. ์์ธ์ ๊น๋ฉ์ ์์ฑํด๋์ Repository ์ ์ง๊ธ๊น์ง ๊นํ๋ธ์ ์ปค๋ฐํ๋ Repository ๊ฐ ์๋ก ๊ด๋ จ์ด ์..
โน๏ธ ๋ผ์ดํ/2021 ์ฌ๋ฆ๋ฐฉํ ๋ชจ๊ฐ์ฝ(๊ฐ์ธ)
https://codekodo.tistory.com/91 [์ฝ๋
ํ๊ตฌ๋ง 2] 5์ฃผ์ฐจ - Flutter : Shop App https://codekodo.tistory.com/88 [์ฝ๋
ํ๊ตฌ๋ง 2] 4์ฃผ์ฐจ - Flutter : Shop App Udemy ๊ฐ์๊ฐ ์ด๋๋ง 50ํผ๋ฅผ ๋๊ฒผ๋ค. ์ค๊ฐ์ ์ด๋ ค์ด ๋ถ๋ถ๋ ๋ช ๊ฐ ์์์ง๋ง ์ด์ ์ด๋์ ๋ ํผ์์ ๊ตฌ์ถํ ์ ์์ ๊ฒ ๊ฐ๋ค. ์ฌ์ค ๊ทธ.. codekodo.tistory.com ์ง๊ธ๊น์ง๋ Local์์ ์งํํ๋๋ฐ Firebase๋ฅผ ์ด์ฉํ์ฌ Server์์ ๋ฐ์ดํฐ๋ฅผ ๊ฐ์ ธ์ค๋๋ก ์ฝ๋๋ฅผ ์์ ํ๋ค. ์ฐ์ ์ผ์ข
์ Controller ์ญํ ์ ์ํํ๋ Provider๋ก ๋ชจ๋ ๋ฐ์ดํฐ๋ฅผ ๋ณ๊ฒฝํ๋ค. ์๋ฅผ ๋ค์ด ์๋ฒ์ ์ ์ฅ๋ ์ํ์ ๊ฐ์ ธ์ฌ ์ ์๋๋ก ๊ตฌํํ๋ค. import 'packag..
โน๏ธ ๋ผ์ดํ/2021 ์ฌ๋ฆ๋ฐฉํ ๋ชจ๊ฐ์ฝ(๊ฐ์ธ)
https://codekodo.tistory.com/88 [์ฝ๋
ํ๊ตฌ๋ง 2] 4์ฃผ์ฐจ - Flutter : Shop App Udemy ๊ฐ์๊ฐ ์ด๋๋ง 50ํผ๋ฅผ ๋๊ฒผ๋ค. ์ค๊ฐ์ ์ด๋ ค์ด ๋ถ๋ถ๋ ๋ช ๊ฐ ์์์ง๋ง ์ด์ ์ด๋์ ๋ ํผ์์ ๊ตฌ์ถํ ์ ์์ ๊ฒ ๊ฐ๋ค. ์ฌ์ค ๊ทธ๋ ๊ทธ๋ ๋ฐ๋ก ์ ๋ฆฌํ๊ณ ์ถ์๋๋ฐ ์ด์ฉ๋ค๋ณด๋ ๋ฐ๋ ค์ ์ค๋๋ถํฐ๋ผ codekodo.tistory.com ์ง๋ ์ฃผ์ ์ผ๋ถ ๊ตฌํํ Shop App์ ๊ธฐ๋ฅ์ ์ถ๊ฐํ๋ค. GridView๋ก ํํํ ์์ดํ
์ ํด๋ฆญํ๋ฉด ํด๋น ์์ดํ
์ ์์ธ ์ ๋ณด๋ฅผ ๋ณด์ฌ์ค๋ค. import 'package:flutter/material.dart'; import '/providers/products.dart'; import 'package:provider/provider.dart'; class ..