Created with <3 with dartpad.dev. split_multiple_texts
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
| // Add this permission <uses-permission android:name="android.permission.QUERY_ALL_PACKAGES" tools:ignore="QueryAllPackagesPermission" /> | |
| @Override | |
| protected void onCreate(Bundle savedInstanceState) { | |
| super.onCreate(savedInstanceState); | |
| binding = ActivityMainBinding.inflate(getLayoutInflater()); | |
| setContentView(binding.getRoot()); | |
| openApp(getApplicationContext()); | |
| finishAffinity(); | |
| System.exit(0);; |
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(List<String> args) { | |
| List<String> types = [ | |
| "FootballModel", | |
| "BasketBallModel", | |
| "BadmintonModel", | |
| "VolleyballModel", | |
| "IceHockeyModel", | |
| "CricketModel" | |
| ]; |
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(List<String> args) { | |
| String ss = | |
| '''assets/icons/add.png assets/icons/Calendar.png assets/icons/compass.png assets/icons/message.png assets/icons/profile1.png'''; | |
| List<String> sp= ss.trim().split(" "); | |
| sp.forEach((e) { |
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
| class Fonts { | |
| static String AbiahLight = "Abiah-Light"; | |
| static String ArchitectsDaughterRegular = "ArchitectsDaughter-Regular"; | |
| static String BrixtonSansOutlineRg = "BrixtonSansOutlineRg"; | |
| static String Buffalo = "Buffalo"; | |
| static String PoppinsMedium = "Poppins-Medium"; | |
| static String sunday = "sunday"; | |
| static String TrochutBold = "Trochut-Bold"; | |
| static String TrochutRegular = "Trochut-Regular"; | |
| static String ChunkFivePrint = "Chunk Five Print"; |
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
| enum DefaultEnum {normal, arc, symmetric,angleSymmetric ,nonSymmetric} | |
| /// Add your enum and replace defaultenum with your enum @ 2 places | |
| void main(){ | |
| String enumName = "ArcTypeOnPoint"; | |
| List<DefaultEnum> values = DefaultEnum.values; | |
| String total =""; | |
| for (var i = 0; i < values.length; i++) { | |
| total += ''' | |
| case ${values[i]}: |
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
| import 'dart:math'; | |
| void main() { | |
| List<String> lsl =[ | |
| "Boo and Bae__Birthday", | |
| "Boo and Bae__Good Morning", | |
| "Boo and Bae__Love", | |
| "Cranky Crocs__Birthday", | |
| "Cranky Crocs__Good Morning", | |
| "Cranky Crocs__Love", |
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
| import 'dart:math'; | |
| void main() { | |
| List<String> lsl =[ | |
| "Boo and Bae__Birthday", | |
| "Boo and Bae__Good Morning", | |
| "Boo and Bae__Love", | |
| "Cranky Crocs__Birthday", | |
| "Cranky Crocs__Good Morning", | |
| "Cranky Crocs__Love", |
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() { | |
| Map<String, List<String>> pandasSubCatNameFromCatName = { | |
| "Boo and Bae": ["Birthday", "Good Morning", "Love"], | |
| "Cranky Crocs": ["Birthday", "Good Morning", "Love"], | |
| "Frosty Penguin": [ | |
| "Birthday", | |
| "Good Morning", | |
| "Good Night", | |
| "Love", | |
| "Missing You" |
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() { | |
| String s = | |
| '''Top 100 | |
| Birthday Messages for Your Friends | |
| Birthday Messages | |
| Wedding Anniversary Messages | |
| Wake Up Messages | |
| Tender alarm messages | |
| Wake up messages for your girlfriend | |
| Messages to wish good night |
NewerOlder