import 'package:fikoyt_ui/fikoyt_ui.dart'; import 'package:flutter/material.dart'; class HareketlerItem extends StatelessWidget { HareketlerItem({super.key, this.animClose}); Function()? animClose; @override Widget build(BuildContext context) { return ListTileTheme( minVerticalPadding: 10, child: ListTile( shape: RoundedRectangleBorder(borderRadius: BorderRadius.circular(10)), dense: true, leading: FikoYTButton(text: "🛹", tema: FikoYTButtonTheme(fontSize: 18)), title: Row( children: [ FikoYTButton(text: "Aburrr Cuburrr", tema: FikoYTButtonTheme(fontSize: 12)), Spacer(), FikoYTButton( text: "-50₺", tema: FikoYTButtonTheme(textColor: Theme.of(context).extension()?.errorTextColor, fontSize: 12), ), ], ), tileColor: Theme.of(context).extension()?.cardBackgroundColor, isThreeLine: false, onTap: animClose, subtitle: Column( mainAxisAlignment: MainAxisAlignment.start, crossAxisAlignment: CrossAxisAlignment.start, children: [ Row( children: [ FikoYTButton(text: 'Finansbank Hesabı', tema: FikoYTButtonTheme(fontWeight: FontWeight.w200, fontSize: 10)), Spacer(), FikoYTButton(text: "16.02.2025", tema: FikoYTButtonTheme(fontWeight: FontWeight.w200, fontSize: 10)), ], ), FikoYTButton(text: 'Açıklama Yok', tema: FikoYTButtonTheme(fontWeight: FontWeight.w200, fontSize: 11)), ], ), ), ); } }