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(const MyApp()); | |
| } | |
| class MyApp extends StatelessWidget { | |
| const MyApp({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'; | |
| /// 🎨 RENK PALETİ | |
| /// Tasarım sisteminin temelini oluşturan renkler | |
| class AppColors { | |
| // Ana renkler | |
| static const Color primary = Color(0xFFF26C0D); // Turuncu | |
| static const Color textLight = Color(0xFF181411); // Koyu kahverengi | |
| static const Color subtextLight = Color(0xFF8A7260); // Açık kahverengi | |
| static const Color bgLight = Color(0xFFFFFFFF); // Beyaz |
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(const MyApp()); | |
| class MyApp extends StatelessWidget { | |
| const MyApp({super.key}); | |
| @override | |
| Widget build(BuildContext context) { | |
| return 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 'package:flutter/material.dart'; | |
| void main() => runApp(const LayoutDemo()); | |
| class LayoutDemo extends StatefulWidget { | |
| const LayoutDemo({super.key}); | |
| @override | |
| State<LayoutDemo> createState() => _LayoutDemoState(); | |
| } |
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(const ExpandedDemo()); | |
| class ExpandedDemo extends StatefulWidget { | |
| const ExpandedDemo({super.key}); | |
| @override | |
| State<ExpandedDemo> createState() => _ExpandedDemoState(); | |
| } |
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(const FlutterStarterDemo()); | |
| class FlutterStarterDemo extends StatelessWidget { | |
| const FlutterStarterDemo({super.key}); | |
| @override | |
| Widget build(BuildContext context) { | |
| return 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 'package:flutter/material.dart'; | |
| void main() => runApp(const ErrorAsyncDemo()); | |
| class ErrorAsyncDemo extends StatefulWidget { | |
| const ErrorAsyncDemo({super.key}); | |
| @override | |
| State<ErrorAsyncDemo> createState() => _ErrorAsyncDemoState(); | |
| } |
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(const TypeConversionDemo()); | |
| class TypeConversionDemo extends StatefulWidget { | |
| const TypeConversionDemo({super.key}); | |
| @override | |
| State<TypeConversionDemo> createState() => _TypeConversionDemoState(); | |
| } |
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(const InheritanceDemo()); | |
| class InheritanceDemo extends StatefulWidget { | |
| const InheritanceDemo({super.key}); | |
| @override | |
| State<InheritanceDemo> createState() => _InheritanceDemoState(); | |
| } |
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(const InterfaceDemo()); | |
| class InterfaceDemo extends StatefulWidget { | |
| const InterfaceDemo({super.key}); | |
| @override | |
| State<InterfaceDemo> createState() => _InterfaceDemoState(); | |
| } |
NewerOlder