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
pubspec.yaml ekle | |
shared_preferences: ^2.0.8 | |
provider: ^6.0.1 | |
== dark_theme_preferences.dart ======================================================================================================================== | |
import 'package:flutter/cupertino.dart'; | |
import 'package:flutter/material.dart'; | |
import 'package:shared_preferences/shared_preferences.dart'; | |
import 'dart:ui'; |
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 AnaEkran extends StatefulWidget { | |
const AnaEkran({Key? key}) : super(key: key); | |
@override | |
_AnaEkranState createState() => _AnaEkranState(); | |
} |
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
{ | |
"4.7.0": [ | |
"fa-500px", | |
"fa-address-book", | |
"fa-address-book-o", | |
"fa-address-card", | |
"fa-address-card-o", | |
"fa-adjust", | |
"fa-adn", | |
"fa-align-center", |
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
<ModalGnrV1 openboolean={(isOpen==1)}title={'Form Başlık'} closeOnClick={()=>{dispatch(changeOpenMode(0))}} | |
footer={[{ | |
label:'Kaydet', | |
onClick:()=>{alert('test')}, | |
class:'p-2 bg-green-800 hover:bg-green-700 rounded-sm ml-4 text-white' | |
}, | |
{ | |
label:'Güncelle', | |
onClick:()=>{alert('test')}, | |
class:'p-2 bg-yellow-800 hover:bg-yellow-700 rounded-sm ml-4 text-white' |
OlderNewer