๐
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
| /// Flutter code sample for Shortcuts | |
| /// - https://api.flutter.dev/flutter/widgets/Shortcuts-class.html | |
| import 'package:flutter/material.dart'; | |
| import 'package:flutter/services.dart'; | |
| void main() => runApp(const MyApp()); | |
| class MyApp extends StatelessWidget { | |
| const MyApp({Key? key}) : super(key: key); |
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
| // Doc : https://master-api.flutter.dev/flutter/widgets/ScrollMetricsNotification-class.html | |
| import 'package:flutter/material.dart'; | |
| void main() => runApp(const ScrollMetricsDemo()); | |
| class ScrollMetricsDemo extends StatefulWidget { | |
| const ScrollMetricsDemo({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 'package:flutter/material.dart'; | |
| void main() => runApp(MyApp()); | |
| class MyApp extends StatelessWidget { | |
| @override | |
| Widget build(BuildContext context) => MaterialApp( | |
| home: MyHomePage(), | |
| ); | |
| } |
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 FoodIngredient{ | |
| String productName; | |
| String gramme; | |
| FoodIngredient({required this.productName,required this.gramme}); | |
| } |
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(MyApp()); | |
| class MyApp extends StatelessWidget { | |
| @override | |
| Widget build(BuildContext context) { | |
| return MaterialApp( | |
| title: 'Flutter Demo', | |
| debugShowCheckedModeBanner: false, |
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() { | |
| Future(() async{ | |
| await Jjigae( | |
| name: "๐ฒ ๋ถ๋์ฐ๊ฐ", | |
| water: FoodIngredient(productName: "์ฌ๊ณจ", gramme: "500g"), | |
| vegetables: [ | |
| FoodIngredient(productName: "์ํ", gramme: "30g"), | |
| FoodIngredient(productName: "๋ํ", gramme: "30g"), | |
| ], |
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() { | |
| BudaeJjigae( | |
| water: FoodIngredient(productName: "๋์ฌ ์ฌ๊ณจ", gramme: "300g"), | |
| ham: FoodIngredient(productName: "์คํธ ์ค๋ฆฌ์ง๋", gramme: "100g"), | |
| sausage: FoodIngredient(productName: "๋ง์กฐ์ ํ๋ํฌ์์ธ์ง", gramme: "10g"), | |
| spices: [ | |
| FoodIngredient(productName: "๊ณ ์ด ์๊ธ", gramme: "10g"), | |
| FoodIngredient(productName: "๊ณ ์ด ๊ณ ์ถง๊ฐ๋ฃจ", gramme: "20g"), | |
| FoodIngredient(productName: "๋ฌ ๋ฐ์ ๊ณ ์ถ์ฅ", gramme: "30g"), |
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() { | |
| // ์ค๋ 4๊ถ์ ์ฑ ์ ์ ๋ฌผ ๋ฐ์๋ค, ๋๋ฆ ์ ๋ฆฌ๋ฅผ ์ํ๋, | |
| // ๊น๋ํ ์ฌ๋์ด๋ฏ๋ก ๋์ฐฉํ ์์๋๋ก ์๋์ ์ ๋ฆฌํ๋ค. | |
| // [ Book, Book, ... Book] | |
| List<String> books = [ "ํด๋๋ค์ค์ ๊ฐ", "ํด๋ฆฌํฌํฐ-๋ถ์์", "์ฝ๋", "ํด๋ฆฌํฌํฐ-์์ฆ์นด๋ฐ์์ฃ์" ]; | |
| // ๐ฏ | |
| // ์ฑ ์ ์ฝ๋ ์ค '์ฝ๋' ๊ฐ ๋ณด๊ณ ์ถ์ด์ | |
| // ์๋์์ ๊ทธ ์ค ํ๋๋ฅผ ์ฐพ์ผ๋ ค ํ๋ค. |
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 { | |
| const Sys({Key? key}) : super(key: key); | |
| @override | |
| Widget build(BuildContext context) { | |
| return 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'; | |
| void main() => runApp(Sys()); | |
| class Sys extends StatelessWidget { | |
| const Sys({Key? key}) : super(key: key); | |
| @override | |
| Widget build(BuildContext context) { | |
| return MaterialApp(home: Main()); |