Skip to content

Instantly share code, notes, and snippets.

@j4nk3e
j4nk3e / main.dart
Created January 23, 2020 22:06
Text input decoration
import 'package:flutter/material.dart';
final Color darkBlue = Color.fromARGB(255, 18, 32, 47);
void main() {
runApp(MyApp());
}
var text = TextEditingController(text: 'HELLO');
@j4nk3e
j4nk3e / main.dart
Last active October 28, 2019 16:52
Dart ISO 8601 calendar week
void main() {
for (int i = 0; i < 15; i++) {
print('\n=== ~~~ ===\n');
for(int j=0; j<14; j++) {
if(j==7) {
print('=== ${2025-i} ===');
}
var y = DateTime(2025-i, 1, 7).subtract(Duration(days: j));
print('$y ${y.weekday} -> ${weekFormat(y)}');
}
### Keybase proof
I hereby claim:
* I am juumixx on github.
* I am zerghase (https://keybase.io/zerghase) on keybase.
* I have a public key ASA5Fnjo-YGjwwH_8z-OfJnVtgv-dN3kQj0j9-aK-qwWxwo
To claim this, I am signing this object: