Skip to content

Instantly share code, notes, and snippets.

@oguzbasaran
oguzbasaran / gist:cd7569793956b2d63bf6051fc81c35a9
Last active October 16, 2023 01:07
(Açıklamalı) 08# Flutter ile Temel Blog Uygulaması | Flutter ile Mobil Uygulama Geliştirme Eğitimi
import "package:flutter/material.dart";
void main() => runApp(MyApp());
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
title: "İlkel Blog Uygulaması",
home: Cati(),
@oguzbasaran
oguzbasaran / gist:944cd8e2a6feeeac726ba897829efcca
Last active October 16, 2023 01:07
(baglantiAl() metodu) 53# Profil Resmi Gösterme İşlemi | Flutter Firebase ile Mobil Uygulama Geliştirme Dersleri
baglantiAl() async {
try {
String baglanti = await FirebaseStorage.instance
.ref()
.child("profilresimleri")
.child(auth.currentUser.uid)
.child("profilResmi.png")
.getDownloadURL();
setState(() {
@oguzbasaran
oguzbasaran / gist:11185c4e40c5dcba7f75efe4717dfcbe
Last active October 16, 2023 01:07
(Değişen Kullanımlar ve Açıklamalarla) 32# MaterialPageRoute ile Sayfalar Arası Veri Aktarımı | Flutter ile Mobil Uygulama Geliştirme
import 'package:flutter/material.dart';
void main() => runApp(MyApp()); // Uygulamanın başlangıç noktası.
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
// MaterialApp, material tasarım kütüphanesini uygulama genelinde kullanılabilir yapar.
return MaterialApp(
home: GirisEkrani(), // GirişEkrani widget'ını ana ekran olarak ayarlar.
@oguzbasaran
oguzbasaran / gist:2ecaae37e75a5d5b5efe86421cdd493c
Last active October 16, 2023 01:08
Flutter Stateless Widget Example
import 'package:flutter/material.dart';
void main() {
runApp(MyApp());
}
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
@oguzbasaran
oguzbasaran / modbusexample.dart
Created September 17, 2023 15:29
Modbus Example (Flutter)
import 'package:flutter/material.dart';
import 'package:modbus/modbus.dart';
void main() {
runApp(MyApp()); // Starting point of the application
}
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {