import 'package:android_intent_plus/android_intent.dart'; import 'package:fikoyt_ui/fikoyt_ui.dart'; import 'package:flutter/material.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: [ FikoYTButton( text: "Ana Sayfa Yardımları", tema: Theme.of(context).extension()?.copyWith( textColor: Colors.white, edgePadding: const EdgeInsets.all(10), fontSize: 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://youtu.be/uvq1GdUaMUY", ); await intent.launch(); }, ), ), ], ), ); } }