๐
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 'package:flutter/material.dart'; | |
| import 'package:flutter_riverpod/flutter_riverpod.dart'; | |
| void main() => runApp(ProviderScope(child: Sys())); | |
| class Sys extends StatelessWidget { | |
| const Sys({Key? key}) : super(key: key); | |
| @override | |
| Widget build(BuildContext context) => MaterialApp(home: Main()); |
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 'package:flutter/material.dart'; | |
| import 'package:url_launcher/url_launcher.dart'; | |
| import 'package:webview_flutter/webview_flutter.dart'; | |
| void main() => runApp(Sys()); | |
| class Sys extends StatelessWidget { | |
| const Sys({Key? key}) : super(key: key); | |
| @override |
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:async'; | |
| import 'package:flutter/foundation.dart'; | |
| import 'package:flutter/material.dart'; | |
| import 'package:in_app_purchase/in_app_purchase.dart'; | |
| import 'package:in_app_purchase_android/in_app_purchase_android.dart'; | |
| void main() { | |
| if (defaultTargetPlatform == TargetPlatform.android) { | |
| InAppPurchaseAndroidPlatformAddition.enablePendingPurchases(); | |
| } |
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:async'; | |
| import 'package:flutter/foundation.dart'; | |
| import 'package:flutter/material.dart'; | |
| import 'package:in_app_purchase/in_app_purchase.dart'; | |
| import 'package:in_app_purchase_android/in_app_purchase_android.dart'; | |
| void main() { | |
| if (defaultTargetPlatform == TargetPlatform.android) { | |
| InAppPurchaseAndroidPlatformAddition.enablePendingPurchases(); | |
| } |
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:async'; | |
| import 'package:flutter/foundation.dart'; | |
| import 'package:flutter/material.dart'; | |
| import 'package:in_app_purchase/in_app_purchase.dart'; | |
| import 'package:in_app_purchase_android/in_app_purchase_android.dart'; | |
| void main() { | |
| if (defaultTargetPlatform == TargetPlatform.android) { | |
| InAppPurchaseAndroidPlatformAddition.enablePendingPurchases(); | |
| } |
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<int> l = List<int>.generate(10, (int i) => i); | |
| // ๐ 1. Error | |
| // for(int i in l){ | |
| // if(i == 3){ | |
| // l.add(123); | |
| // } |
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:ui'; | |
| import 'package:flutter/material.dart'; | |
| class MathController{} | |
| class Math extends StatelessWidget { | |
| Math({Key? key}) : super(key: key); | |
| static const String path = "/math"; | |
| final MathController _mathController = MathController(); | |
| @override |
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 'package:flutter/material.dart'; | |
| void main() => runApp(Sys()); | |
| class Sys extends StatelessWidget { | |
| @override | |
| Widget build(BuildContext context) => MaterialApp( | |
| onGenerateRoute: (RouteSettings route){ | |
| // if(route.name == Main.path) return MaterialPageRoute( |
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:io'; | |
| import 'package:flutter/cupertino.dart'; | |
| import 'package:flutter/material.dart'; | |
| void main() => runApp(Sys()); | |
| class Sys extends StatelessWidget { | |
| @override | |
| Widget build(BuildContext context) => MaterialApp( |
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:typed_data'; | |
| import 'package:camera/camera.dart'; | |
| import 'package:flutter/material.dart'; | |
| import 'package:gallery_saver/gallery_saver.dart'; | |
| import 'package:image_picker/image_picker.dart'; | |
| import 'package:permission_handler/permission_handler.dart'; | |
| void main() => runApp(Sys()); | |
| class Sys extends StatelessWidget { |