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

소스코드 및 pubspec.yaml // models/comment_model.dart import 'package:cloud_firestore/cloud_firestore.dart'; import 'package:flutter_project_IJ/constants/firestore_keys.dart'; class CommentModel { final String username; final String userKey; final String comment; final DateTime commentTime; final String commentKey; final DocumentReference reference; // fromMap -> dart 내부 메서드 CommentModel.fromMap(Map ..

pub.dev/packages/rxdart rxdart | Dart Package RxDart is an implementation of the popular reactiveX api for asynchronous programming, leveraging the native Dart Streams api. pub.dev 소스코드 및 pubspec.yaml // repo/post_network_repository.dart import 'package:cloud_firestore/cloud_firestore.dart'; import 'package:flutter_project_IJ/constants/firestore_keys.dart'; import 'package:flutter_project_IJ/mod..

Stream을 통해서 데이터가 바뀔때마다 불러옴. 소스코드 및 pubspec.yaml // repo/helper/transformers.dart import 'dart:async'; import 'package:cloud_firestore/cloud_firestore.dart'; import 'package:flutter_project_IJ/models/firestore/user_model.dart'; class Transformers { // DocumentSnapshot을 UserModel로 바꿈. // fromHandlers -> 생성자 final toUser = StreamTransformer.fromHandlers( handleData: (snapshot, sink) async { // 변화된 ..

비율에 따른 camera preview 생성. 많은 디바이스에 같은 화면을 적용시키기 위해서는 필요할 듯 싶다. stackoverflow.com/questions/59207590/how-to-set-34-aspect-ratio-flutter-camera-preview How to set 3:4 Aspect Ratio Flutter camera preview I am working on Flutter app. I need camera functionality and decided to use Camera Plugin for this. I set the Aspect Ratio 3:4 but the image is warped and smaller than it should be. I think there i..