Flutter devπ±
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
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <title>Home</title> | |
| <meta charset="UTF-8" /> | |
| <meta name="viewport" content="width=device-width" /> | |
| <link rel="stylesheet" href="styles.css" /> | |
| </head> | |
| <body> | |
| <div class="my-box"></div> |
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
| // * Interactive script to manually translate app keyword with https://pub.dev/packages/easy_localization | |
| // ! Note: Khmer language which is UTF8 is not supported in command prompt or powershell since they're old and only support ASCII. Use new Windows Terminal or any other Terminal that support UTF8 encoding. | |
| // ignore_for_file: avoid_print | |
| import 'dart:convert'; | |
| import 'dart:io'; | |
| final _kh = File("<YOUR_KH_JSON_FILE_PATH>"); | |
| final _en = File("<YOUR_EN_JSON_FILE_PATH>"); |
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://stackoverflow.com/a/22333042/15149752 | |
| import 'package:collection/collection.dart'; | |
| List<String> otherList = ['foo', 'bar', 'baz']; | |
| List<String> something = ['bar', 'baz', 'foo']; | |
| void checkTwoListForEquality(List<String> firstList, List<String> secList) { | |
| Function unOrdDeepEq = const DeepCollectionEquality.unordered().equals; |