This file contains 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:get/get.dart'; | |
import 'package:get_storage/get_storage.dart'; | |
class ThemeService { | |
final _box = GetStorage(); | |
final _key = 'isDarkMode'; | |
_saveTheme(bool isDarkMode) => _box.write(_key, isDarkMode); |
This file contains 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'; | |
class Themes{ | |
static final light = ThemeData( | |
primarySwatch: const MaterialColor(4288120051, { | |
50: Color(0xffebe8fd), | |
100: Color(0xffd8d1fa), | |
200: Color(0xffb0a2f6), |
This file contains 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
Column( | |
crossAxisAlignment: CrossAxisAlignment.start, | |
mainAxisSize: MainAxisSize.min, | |
children: [ | |
SizedBox( | |
height: Get.height * 0.11, | |
), | |
SizedBox( | |
height: Get.width == 390 ? 205.h : 220.h, | |
child: Stack( |
This file contains 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:examp_1/Controller/home_binding.dart'; | |
import 'package:examp_1/VIEWS/home_page.dart'; | |
import 'package:flutter/material.dart'; | |
import 'package:get/get.dart'; | |
void main() => runApp(GetMaterialApp(home: HomeViews())); | |
class MyApp extends StatelessWidget { | |
@override | |
Widget build(BuildContext context) { |
This file contains 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
<div class="row"> <div class="col-md-6"> | |
<h2 routerLink="home">ANA SAYFAYA GİT</h2> | |
</div> | |
<div class="col-md-6"> | |
<h2 routerLink="user">KULLANICI SAYFASINA GİT</h2> | |
</div> | |
<!-- <div class="col-md-3"> | |
<h2 [routerLink]="[]'user',7]"> </h2> | |
</div> --> | |
</div> |