Skip to content

Instantly share code, notes, and snippets.

View tudor07's full-sized avatar

Tudor Prodan tudor07

View GitHub Profile
@branflake2267
branflake2267 / main.dart
Last active April 6, 2018 16:35
Flutter - The Infinite ListView - YouTube episode source code...
import 'dart:async';
import 'package:MyListViewApplication/models.dart';
import 'package:flutter/material.dart';
void main() {
runApp(new MyApp());
}
final ThemeData _themeData = new ThemeData(
primaryColor: Colors.blue,
@dodyg
dodyg / gist:5823184
Last active October 20, 2024 12:25
Kotlin Programming Language Cheat Sheet Part 1

#Intro

Kotlin is a new programming language for the JVM. It produces Java bytecode, supports Android and generates JavaScript. The latest version of the language is Kotlin M5.3

Kotlin project website is at kotlin.jetbrains.org.

All the codes here can be copied and run on Kotlin online editor.

Let's get started.

@dodyg
dodyg / gist:5616605
Last active November 21, 2022 03:05
Kotlin Programming Language Cheat Sheet Part 2

This is a quick guide to Kotlin programming language. The previous part of this guide is here

#Object Oriented

fun main(args : Array<String>) {
  class local (val x : Int)
  
  val y = local(10)
 println("${y.x}")