일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- Camera
- Navigator
- Stream
- multiprovider
- switch
- consumer
- reference
- enum
- controller
- divider
- provider
- platformexception
- globalkey
- setstate
- changenotifierprovider
- user
- Firebase
- Swift
- signout
- changenotifier
- permission
- borderRadius
- runTransaction
- ListView.builder
- snackbar
- datetime
- Snapshot
- swift 문법
- transform
- 문법
- Today
- Total
목록reference (3)
코딩하는 제리

소스코드 및 pubspec.yaml // models/firestore/post_model.dart import 'package:cloud_firestore/cloud_firestore.dart'; import 'package:flutter_project_IJ/constants/firestore_keys.dart'; class PostModel { final String postKey; final String userKey; final String username; final String postImg; // 해당 유저의 userKey를 저장해놓고 likes를 취소할 때 // userKey를 삭제한 후 list의 길이를 사용. final List numOfLikes; final String caption..

소스코드 및 pubspec.yaml // repo/image_network_repository.dart import 'dart:io'; import 'package:firebase_storage/firebase_storage.dart'; import 'package:flutter/foundation.dart'; import 'package:flutter_project_IJ/repo/helper/image_helper.dart'; // isolate class ImageNetworkRepository { Future uploadImageNCreateNewPost(File originImage, {@required String postKey}) async { try { // 메소드명만 입력. final Fi..

소스코드 및 pubspec.yaml // models/firestore/user_model.dart import 'package:cloud_firestore/cloud_firestore.dart'; import 'package:flutter_project_IJ/constants/firestore_keys.dart'; class UserModel { final String userKey; final String profileImg; final String email; final List myPosts; final int followers; final List likedPosts; final String username; final List followings; // 해당 데이터의 위치를 저장하는 타입 fi..