TIL

20230927 TIL

김빵그 2023. 9. 27. 18:39

Today 요약

[] leetcode 문제 1문제 

[] 프로그래머스 코딩테스트 1문제

[] flutter 강의 2개


 

 

Problems - LeetCode

Boost your coding interview skills and confidence by practicing real interview questions with LeetCode. Our platform offers a range of essential problems for practice, as well as the latest questions being asked by top-tier companies.

leetcode.com

배운 점 

1) Flutter 갤러리 저장

 

flutter gallery_saver 사용하여 갤러리에 사진 저장하기

gallery_saver | Flutter Package Saves images and videos from network or temporary file to external storage. Both images and videos will be visible in Android Gallery and iOS Photos. pub.dev 유저의 gallery에 무언가를 저장할 수 있게 해주는

252-archive.tistory.com

2) flutter Spacer 

 

Spacer class - widgets library - Dart API

Spacer creates an adjustable, empty spacer that can be used to tune the spacing between widgets in a Flex container, like Row or Column. The Spacer widget will take up any available space, so setting the Flex.mainAxisAlignment on a flex container that cont

api.flutter.dev

  • 변형 가능한 공간을 만들어준다
(new) Spacer Spacer({Key? key, int flex = 1})
const Row(
  children: <Widget>[
    Text('Begin'),
    Spacer(), // Defaults to a flex of one.
    Text('Middle'),
    // Gives twice the space between Middle and End than Begin and Middle.
    Spacer(flex: 2),
    Text('End'),
  ],
)

3) flutter image_picker

 

flutter Image_picker 사용방법

image_picker | Flutter Package Flutter plugin for selecting images from the Android and iOS image library, and taking new pictures with the camera. pub.dev $ flutter pub add image_picker 유저의 library에서 사진이나 비디오를 가져오게해줌

252-archive.tistory.com