Home
restato's memo
Cancel

[Leetcode] longest-palindromic-substring Time Limit Exceeded 지옥

https://leetcode.com/problems/longest-palindromic-substring/ https://leetcode.com/submissions/detail/624631254/testcase/ 결국 풀지 못했고 다른 답을 참고해서 풀었다. class Solution: def longestPalindrome(self, s...

[Flutter] Awesome 프로젝트 리스트

https://github.com/mitesh77/Best-Flutter-UI-Templates https://github.com/nohli/flutter_templates

[Flutter] pull to refresh

https://pub.dev/packages/pull_to_refresh https://stackoverflow.com/questions/57972505/pull-down-to-refresh-in-flutter <– 이 방법대로 진행

[Flutter] Markdown

https://pub.dev/packages/flutter_markdown/example flutter pub add flutter_markdown appBar: AppBar(title: const Markdown(data: '### Vagazine')) Another exception was thrown: Assertion failed: ...

[Flutter] GirdView 리스트 결과 출력

https://blog.logrocket.com/how-to-create-a-grid-list-in-flutter-using-gridview/ GridView에서 각 margin의 의미 class GridListDemo extends StatelessWidget { const GridListDemo({Key? key}) : super(key:...

[Flutter] Samples

https://flutter.github.io/samples/# 데모도 있고, 코드도 있어서 참고하기 좋음 theme https://github.com/flutter/gallery/tree/master/lib/themes

[Flutter] Network image

https://docs.flutter.dev/cookbook/images/network-image import 'package:flutter/material.dart'; void main() => runApp(const MyApp()); class MyApp extends StatelessWidget { const MyApp({Key? ...

[Flutter] Fetch Data

https://docs.flutter.dev/cookbook/networking/fetch-data import 'dart:async'; import 'dart:convert'; import 'package:flutter/material.dart'; import 'package:http/http.dart' as http; Future<Alb...

[Flutter] Deploy netlify

flutter build web build/web에 결과가 나오고, 결과 파일을 netlify에 업로드해도 가능 github action을 활용 github token 발급 netlify auth token, site id github settings에 sercrets 추가 .github/workflow/deploy.yml 작성...

[Flutter] Tutorial

https://docs.flutter.dev/development/ui/layout/tutorial 이미지 추가하면 pubspec.yaml에 assets의 tag 추가가 필요 재시작해야 로드가 가능 ```yaml assets: images/lake.jpg ``` ...