본문 바로가기

코딩하는 제리

검색하기
코딩하는 제리
프로필사진 JerryCho

  • 분류 전체보기 (130)
    • Coding (1)
    • Flutter (103)
      • Dart (2)
      • Error (4)
      • MiniProject (8)
      • Project_InstaClone(완) (85)
      • FirebasePushNotification (0)
    • iOS (25)
      • SwiftUI (25)
Guestbook
Notice
Recent Posts
Recent Comments
Link
«   2025/08   »
일 월 화 수 목 금 토
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
  • provider
  • setstate
  • multiprovider
  • snackbar
  • transform
  • Firebase
  • permission
  • datetime
  • changenotifier
  • changenotifierprovider
  • Snapshot
  • Navigator
  • user
  • divider
  • switch
  • signout
  • 문법
  • Camera
  • reference
  • Swift
  • consumer
  • controller
  • borderRadius
  • enum
  • runTransaction
  • platformexception
  • Stream
  • swift 문법
  • globalkey
  • ListView.builder
more
Archives
Today
Total
관리 메뉴
  • 글쓰기
  • 방명록
  • RSS
  • 관리

목록postmodel (1)

코딩하는 제리

[Flutter/Project](Instagram Clone) 포스트 생성시 작성할 데이터 파일 post model

소스코드 및 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..

Flutter/Project_InstaClone(완) 2021. 2. 27. 11:09
Prev 1 Next

Blog is powered by kakao / Designed by Tistory

티스토리툴바