Skip to content

Instantly share code, notes, and snippets.

View ChangJoo-Park's full-sized avatar
:octocat:
🌱

ChangJoo Park(박창주) ChangJoo-Park

:octocat:
🌱
View GitHub Profile
FORMAT: 1A
HOST: https://api.clickup.com/api/v2
# ClickUp 2.0
Let's make people more productive, together.
Looking for the v1 documentation? Click [here](https://clickup.com/apiv1).
Please use our [feedback board](https://feedback.clickup.com/api-20) to report bugs, feature requests, and collaborate with the community.
const wordsGerman =['wie','ich','seine','dass','er','war','für','auf','sind','mit','sie','sein','bei','ein','haben','dies','aus','durch','heiß','Wort','aber','was','einige','ist','es','Sie','oder','hatte','die','von','zu','und','ein','bei','wir','können','aus','andere','waren','die','tun','ihre','Zeit','wenn','werden','wie','sagte','ein','jeder','sagen','tut','Satz','drei','wollen','Luft','gut','auch','spielen','klein','Ende','setzen','Zuhause','lesen','seits','Hafen','groß','buchstabieren','hinzufügen','auch','Lande','hier','muss','groß','hoch','so','folgen','Akt','warum','fragen','Männer','Veränderung','ging','Licht','Art','aus','müssen','Haus','Bild','versuchen','uns','wieder','Tier','Punkt','Mutter','Welt','in der Nähe von','bauen','selbst','Erde','Vater','jeder','neu','Arbeit','Teil','nehmen','erhalten','Ort','gemacht','leben','wo','nach','zurück','wenig','nur','Runde','Mann','Jahr','kam','zeigen','jeder','gut','mir','geben','unsere','unter','Name','sehr','durch','nur','Formular','Satz','groß','denken','
@ChangJoo-Park
ChangJoo-Park / platform_switch.dart
Created February 6, 2020 13:39
platform aware switch widget
// Copyright (c) 2019, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
import 'package:flutter/material.dart';
import 'package:flutter/cupertino.dart';
void main() => runApp(MyApp());
class MyApp extends StatelessWidget {
@ChangJoo-Park
ChangJoo-Park / future_timer.dart
Created January 29, 2020 12:52
make future timer in dart
import 'dart:async';
void main() async {
for (int i = 0; i < 5; i++) {
String result = await makeFutureTimer(
duration: Duration(seconds: 0),
action: () {
print(DateTime.now());
return 'RETURN VALUE $i';
},
@ChangJoo-Park
ChangJoo-Park / stateful_dialog.dart
Created January 29, 2020 00:26
Using State in Dialog
// Copyright (c) 2019, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
import 'package:flutter/material.dart';
void main() => runApp(MyApp());
class MyApp extends StatelessWidget {
@override
@ChangJoo-Park
ChangJoo-Park / flutter_facebook_newsfeed.dart
Created January 24, 2020 13:14
Flutter facebook newsfeed refactoring with method (anti-pattern)
import 'package:flutter/material.dart';
final Color darkBlue = Color.fromARGB(255, 18, 32, 47);
void main() {
runApp(MyApp());
}
class MyApp extends StatelessWidget {
@override
@ChangJoo-Park
ChangJoo-Park / flutter_facebook_newsfeed.dart
Created January 24, 2020 13:09
facebook newsfeed using flutter (lo-fi) version 1
// Copyright (c) 2019, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
import 'package:flutter/material.dart';
void main() => runApp(MyApp());
class MyApp extends StatelessWidget {
@override
@ChangJoo-Park
ChangJoo-Park / platform_exception.dart
Created January 19, 2020 01:45
PlatformException handling
try {
granted = await hasPermissions();
} on PlatformException catch (e) {
if (e.message.contains('already')) {
}
}
@ChangJoo-Park
ChangJoo-Park / dangguen_market.dart
Last active January 20, 2020 08:23
Flutter로 당근마켓 만들기
// Copyright (c) 2019, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
import 'package:flutter/material.dart';
import 'package:market/image_list_tile.dart';
List<Map<String, dynamic>> list = <Map<String, dynamic>>[
{
'image':
// Copyright (c) 2019, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
import 'package:flutter/material.dart';
void main() => runApp(MyApp());
class MyApp extends StatelessWidget {
@override