Skip to content

Instantly share code, notes, and snippets.

View Menelphor's full-sized avatar

Menelphor

  • Würzburg
View GitHub Profile
void main() {
final games = ["book", "blabla book", "book of ra", "book", "penis",];
final searchString = ("Book").toUpperCase();
final _searchResult = games
.where((element) =>
element.toUpperCase().contains(
searchString,
))
.toList();
void main() {
bool test;
if(test){
print('hi');
}
}
// https://github.com/flutter/flutter/issues/41005
// This app should accept a IBAN number, inserting spaces so
// that 'DE34567890123456' becomes 'DE34 5678 9012 3456'.
// However on inserting the whiteSpace, the keyboard switches
// back to the default Keyboard, making it annoying to
// insert long Iban Codes.