import 'package:android_intent_plus/android_intent.dart'; import 'package:fikoyt_mesaici/core/widgets/fiko_ui/fiko_button/fiko_button.dart'; import 'package:flutter/material.dart'; import 'package:flutter/widgets.dart'; class AnaSayfa extends StatelessWidget { const AnaSayfa({super.key}); @override Widget build(BuildContext context) { return SizedBox( width: double.infinity, child: Column( crossAxisAlignment: CrossAxisAlignment.start, mainAxisAlignment: MainAxisAlignment.start, children: [ FikoButton1( text: "Ana Sayfa Yardımları", textColor: Colors.white, edgePadding: EdgeInsets.all(10), textSize: 16, ), Card( child: ListTile( leading: const Text( "📹", style: TextStyle( fontSize: 24, ), ), title: const Text( 'Aktif Kart Kullanımı', style: TextStyle( fontWeight: FontWeight.w600, ), ), dense: true, subtitle: const Text('Aktif Kartı Nasıl Kullanacağınıza Dair Videoları İzleyin.'), trailing: const Icon(Icons.chevron_right_sharp), isThreeLine: false, splashColor: Colors.grey.shade300, onTap: () async { AndroidIntent intent = const AndroidIntent( action: 'action_view', data: "https://youtu.be/7ajteg2Ma3A", ); await intent.launch(); }, ), ), Card( child: ListTile( leading: const Text( "📹", style: TextStyle( fontSize: 24, ), ), title: const Text( 'Aylık Özet Anlatımı', style: TextStyle( fontWeight: FontWeight.w600, ), ), dense: true, subtitle: const Text('Aylık Özet Kartındaki Bilgiler Neyi Gösteriyor, Bunları Anlatan Bir Video'), trailing: const Icon(Icons.chevron_right_sharp), isThreeLine: false, splashColor: Colors.grey.shade300, onTap: () async { AndroidIntent intent = const AndroidIntent( action: 'action_view', data: "https://www.youtube.com/watch?v=uvq1GdUaMUY", ); await intent.launch(); }, ), ), ], ), ); } }