Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- Swift
- enum
- signout
- datetime
- swift 문법
- multiprovider
- Navigator
- changenotifierprovider
- Camera
- runTransaction
- permission
- borderRadius
- switch
- divider
- globalkey
- controller
- Stream
- snackbar
- setstate
- transform
- user
- provider
- consumer
- ListView.builder
- reference
- changenotifier
- platformexception
- Firebase
- Snapshot
- 문법
Archives
- Today
- Total
코딩하는 제리
[Flutter/Project](Instagram Clone) 갤러리 레이아웃 만들기 본문
Flutter/Project_InstaClone(완)
[Flutter/Project](Instagram Clone) 갤러리 레이아웃 만들기
JerryCho 2021. 1. 31. 11:28소스코드 및 pubspec.yaml
// widgets/my_gallery.dart
import 'package:flutter/material.dart';
class MyGallery extends StatelessWidget {
@override
Widget build(BuildContext context) {
return GridView.count(
crossAxisCount: 3,
children: List.generate(
30,
(index) => Image.network(
"https://picsum.photos/id/$index/100/100",
fit: BoxFit.cover,
),
),
);
}
}
'Flutter > Project_InstaClone(완)' 카테고리의 다른 글
[Flutter/Project](Instagram Clone) 카메라 갤러리 가져오기 (0) | 2021.01.31 |
---|---|
[Flutter/Project](Instagram Clone) 갤러리 상태 파일 (0) | 2021.01.31 |
[Flutter/Project](Instagram Clone) camera preview 비율 변경 (0) | 2021.01.30 |
[Flutter/Project](Instagram Clone) 카메라 버튼 작동, 사진 파일 이름, 경로, 미리보기 (0) | 2021.01.30 |
[Flutter/Project](Instagram Clone) Provider를 이용한 카메라 상태관리3 (0) | 2021.01.30 |
Comments