This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void main() { | |
bool test; | |
if(test){ | |
print('hi'); | |
} | |
} | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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. | |