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
environment: | |
sdk: ">=2.7.0 <3.0.0" | |
dependencies: | |
flutter: | |
sdk: flutter | |
image_picker: ^0.6.7+22 #Resimleri galeriden alabilmek için kullanacagımız eklenti. | |
tflite: ^1.1.1 #Resimlerimizi makineye öğretecek eklentimiz. | |
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 'dart:io'; | |
import 'package:flutter/material.dart'; | |
import 'package:image_picker/image_picker.dart'; | |
import 'package:tflite/tflite.dart'; | |
void main() { | |
runApp(MyApp()); | |
} | |
class MyApp extends StatelessWidget { |
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
flutter: | |
# The following line ensures that the Material Icons font is | |
# included with your application, so that you can use the icons in | |
# the material Icons class. | |
uses-material-design: true | |
# To add assets to your application, add an assets section, like this: | |
#Tanımlama aşagıdaki gibi olmalıdır: |
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
dependencies: | |
flutter: | |
sdk: flutter | |
# The following adds the Cupertino Icons font to your application. | |
# Use with the CupertinoIcons class for iOS style icons. | |
cupertino_icons: ^1.0.2 | |
anim_search_bar: ^2.0.1 # Animasyonlu Arama cubugu için gerekli olan eklentimiz. |
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:anim_search_bar/anim_search_bar.dart'; | |
import 'package:flutter/material.dart'; | |
void main() async { | |
runApp(MyApp()); | |
} | |
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
@override | |
Widget build(BuildContext context) { | |
return Scaffold( | |
appBar: AppBar( | |
title: Text("Webmaster.Kitchen"), | |
backgroundColor: Colors.deepOrangeAccent, | |
), | |
body: Padding( | |
padding: const EdgeInsets.only(top: 58.0, right: 10, left: 10), |
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
class _AppState extends State<App> { | |
TextEditingController textController = TextEditingController(); | |
String aranan = ""; //Arama çubuguna girilen değer | |
String arananEkran = ""; //Ekranda gösterilen Arama çubugundan alınan veri | |
Color color = Colors.deepOrange[100]; //Arkaplan rengi değiştirmek için | |
@override | |
Widget build(BuildContext context) { | |
return Scaffold( |
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
app.Use(async (context, next) => | |
{ | |
await context.Response.WriteAsync("app.Use() 1 Oncesi\n"); | |
await next(); | |
await context.Response.WriteAsync("app.Use() 1 Sonrasi\n"); | |
}); | |
app.Use(async (context, next) => | |
{ | |
await context.Response.WriteAsync("app.Use() 2 Oncesi\n"); |