import 'package:flutter/foundation.dart'; import 'package:flutter/material.dart'; class OzetAylik extends StatelessWidget { const OzetAylik({super.key}); @override Widget build(BuildContext context) { return Container( decoration: const BoxDecoration( color: Colors.white, borderRadius: BorderRadius.all( Radius.circular(5), ), boxShadow: [ BoxShadow( color: Colors.black12, offset: Offset(0, 0), spreadRadius: 1, blurRadius: 0.0, blurStyle: BlurStyle.outer), ]), child: Column( children: [ Row( children: [ // const Text( // "📅", // style: TextStyle(fontSize: 16), // ), SizedBox( width: 33, child: MaterialButton( elevation: 0, minWidth: 0, shape: const CircleBorder( // borderRadius: BorderRadius.all(Radius.circular(5)), side: BorderSide.none, ), padding: const EdgeInsets.all(0), child: const Text("📅"), // color: Colors.white, onPressed: () { // if (kDebugMode) { // Scaffold.of(context).openEndDrawer(); if (kDebugMode) { print('clicked'); } // } }, ), ), const Expanded( child: Text( "Bu Ay", textAlign: TextAlign.center, style: TextStyle( fontWeight: FontWeight.bold, fontSize: 14, ), ), ), SizedBox( width: 33, child: MaterialButton( elevation: 0, minWidth: 0, shape: const CircleBorder( // borderRadius: BorderRadius.all(Radius.circular(5)), side: BorderSide.none, ), padding: const EdgeInsets.all(0), child: const Text("♻️"), // color: Colors.white, onPressed: () { // if (kDebugMode) { // Scaffold.of(context).openEndDrawer(); if (kDebugMode) { print('clicked'); } // } }, ), ), ], ), const Divider( height: 2, ), /** NOT: Orta Bölüm */ Padding( padding: const EdgeInsets.all(5), child: Row( crossAxisAlignment: CrossAxisAlignment.start, mainAxisAlignment: MainAxisAlignment.center, children: [ /** NOT: Orta Veri Girişleri */ Expanded( child: Padding( padding: const EdgeInsets.symmetric(horizontal: 5, vertical: 0), child: Column( children: [ Row( children: [ Expanded( child: Column( children: [ Text( "Giriş", style: TextStyle( color: Colors.blue.shade500, fontWeight: FontWeight.bold), ), ], ), ), Expanded( child: Column( children: [ Text( "Mola", style: TextStyle( color: Colors.blue.shade500, fontWeight: FontWeight.bold), ), ], ), ), Expanded( child: Column( children: [ Text( "Çıkış", style: TextStyle( color: Colors.blue.shade500, fontWeight: FontWeight.bold), ), ], ), ), ], ), Row( mainAxisAlignment: MainAxisAlignment.spaceEvenly, children: [ Expanded( child: TextButton( onPressed: () {}, style: TextButton.styleFrom( alignment: Alignment.center, fixedSize: const Size.fromHeight(14), backgroundColor: Colors.amber.shade200, shape: const BeveledRectangleBorder( borderRadius: BorderRadius.zero), textStyle: const TextStyle( fontSize: 10, fontWeight: FontWeight.bold), ), child: const Text('Seçiniz'), ), ), Expanded( child: TextButton( onPressed: () {}, style: TextButton.styleFrom( alignment: Alignment.center, fixedSize: const Size.fromHeight(14), backgroundColor: Colors.amber.shade200, shape: const BeveledRectangleBorder( borderRadius: BorderRadius.zero), textStyle: const TextStyle( fontSize: 10, fontWeight: FontWeight.bold), ), child: const Text('Seçiniz'), ), ), Expanded( child: TextButton( onPressed: () {}, style: TextButton.styleFrom( alignment: Alignment.center, fixedSize: const Size.fromHeight(14), backgroundColor: Colors.amber.shade200, shape: const BeveledRectangleBorder( borderRadius: BorderRadius.zero), textStyle: const TextStyle( fontSize: 10, fontWeight: FontWeight.bold), ), child: const Text('Seçiniz'), ), ), ], ), Row( children: [ Expanded( child: Column( children: [ Text( "F.Mesai Oranı", style: TextStyle( color: Colors.blue.shade500, fontWeight: FontWeight.bold), ), ], ), ), Expanded( child: Column( children: [ Text( "Çalışma Süresi", style: TextStyle( color: Colors.blue.shade500, fontWeight: FontWeight.bold), ), ], ), ), ], ), Row( mainAxisAlignment: MainAxisAlignment.spaceEvenly, children: [ Expanded( child: TextButton( onPressed: () {}, style: TextButton.styleFrom( alignment: Alignment.center, fixedSize: const Size.fromHeight(14), backgroundColor: Colors.amber.shade200, shape: const BeveledRectangleBorder( borderRadius: BorderRadius.zero), textStyle: const TextStyle( fontSize: 10, fontWeight: FontWeight.bold), ), child: const Text('x2.000'), ), ), Expanded( child: TextButton( onPressed: () {}, style: TextButton.styleFrom( alignment: Alignment.center, fixedSize: const Size.fromHeight(14), backgroundColor: Colors.amber.shade200, shape: const BeveledRectangleBorder( borderRadius: BorderRadius.zero), textStyle: const TextStyle( fontSize: 10, fontWeight: FontWeight.bold), ), child: const Text('9s'), ), ), ], ), Row( children: [ Expanded( child: Column( children: [ Text( "Normal Mesai", style: TextStyle( color: Colors.blue.shade500, fontWeight: FontWeight.bold), ), ], ), ), Expanded( child: Column( children: [ Text( "Fazla Mesai", style: TextStyle( color: Colors.blue.shade500, fontWeight: FontWeight.bold), ), ], ), ), ], ), Row( mainAxisAlignment: MainAxisAlignment.spaceEvenly, children: [ Expanded( child: TextButton( onPressed: () {}, style: TextButton.styleFrom( alignment: Alignment.center, fixedSize: const Size.fromHeight(14), backgroundColor: Colors.amber.shade200, shape: const BeveledRectangleBorder( borderRadius: BorderRadius.zero), textStyle: const TextStyle( fontSize: 10, fontWeight: FontWeight.bold), ), child: const Text('❌ Yok'), ), ), Expanded( child: TextButton( onPressed: () {}, style: TextButton.styleFrom( alignment: Alignment.center, fixedSize: const Size.fromHeight(14), backgroundColor: Colors.amber.shade200, shape: const BeveledRectangleBorder( borderRadius: BorderRadius.zero), textStyle: const TextStyle( fontSize: 10, fontWeight: FontWeight.bold), ), child: const Text('❌ Yok'), ), ), ], ), const SizedBox( height: 5, ), Row( children: [ Expanded( child: Container( alignment: Alignment.center, decoration: BoxDecoration( color: Colors.blue.shade400, ), child: const Text( "B. Maaş", style: TextStyle( color: Colors.white, fontWeight: FontWeight.bold), ), ), ), Expanded( child: Container( alignment: Alignment.center, decoration: BoxDecoration( color: Colors.blue.shade400, ), child: const Text( "B. İkramiye", style: TextStyle( color: Colors.white, fontWeight: FontWeight.bold), ), ), ), Expanded( child: Container( alignment: Alignment.center, decoration: BoxDecoration( color: Colors.blue.shade400, ), child: const Text( "B. Fazla Mesai", style: TextStyle( color: Colors.white, fontWeight: FontWeight.bold), ), ), ), ], ), Row( mainAxisAlignment: MainAxisAlignment.spaceEvenly, children: [ Expanded( child: TextButton( onPressed: () {}, style: TextButton.styleFrom( alignment: Alignment.center, fixedSize: const Size.fromHeight(14), backgroundColor: Colors.amber.shade200, shape: const BeveledRectangleBorder( borderRadius: BorderRadius.zero), textStyle: const TextStyle( fontSize: 10, fontWeight: FontWeight.bold), ), child: const Text('0.00 TL'), ), ), Expanded( child: TextButton( onPressed: () {}, style: TextButton.styleFrom( alignment: Alignment.center, fixedSize: const Size.fromHeight(14), backgroundColor: Colors.amber.shade200, shape: const BeveledRectangleBorder( borderRadius: BorderRadius.zero), textStyle: const TextStyle( fontSize: 10, fontWeight: FontWeight.bold), ), child: const Text('0.00 TL'), ), ), Expanded( child: TextButton( onPressed: () {}, style: TextButton.styleFrom( alignment: Alignment.center, fixedSize: const Size.fromHeight(14), backgroundColor: Colors.amber.shade200, shape: const BeveledRectangleBorder( borderRadius: BorderRadius.zero), textStyle: const TextStyle( fontSize: 10, fontWeight: FontWeight.bold), ), child: const Text('0.00 TL'), ), ), ], ), Container( alignment: Alignment.centerLeft, padding: const EdgeInsets.all(3), margin: const EdgeInsets.symmetric(vertical: 5), decoration: BoxDecoration( border: Border.all(color: Colors.grey.shade300), color: Colors.grey.shade100, ), child: Row( children: [ const Expanded( child: Text("Kümülatif Matrahınız 0.00 TL'dir", style: TextStyle(fontSize: 10)), ), TextButton( onPressed: () {}, style: TextButton.styleFrom( alignment: Alignment.center, fixedSize: const Size.fromHeight(14), // backgroundColor: Colors.amber.shade200, shape: const BeveledRectangleBorder( borderRadius: BorderRadius.zero), textStyle: const TextStyle( fontSize: 10, ), ), child: const Text("(%30.759) 🪙"), ), ], ), ), ], ), ), ), ], ), ), ], ), ); } }