// ignore_for_file: deprecated_member_use import 'package:flutter/material.dart'; import 'package:google_fonts/google_fonts.dart'; import 'package:monarch/other_pages/colors.dart'; class EmailTransactionDialog extends StatelessWidget { const EmailTransactionDialog({super.key}); @override Widget build(BuildContext context) { return Container( height: MediaQuery.of(context).size.height * 0.7, decoration: BoxDecoration( color: cardColor, borderRadius: const BorderRadius.vertical(top: Radius.circular(28)), boxShadow: [ BoxShadow( color: Colors.black.withOpacity(0.1), blurRadius: 32, offset: const Offset(0, -8), ), ], ), child: Column( children: [ Container( width: 48, height: 4, margin: const EdgeInsets.only(top: 16, bottom: 24), decoration: BoxDecoration( color: primaryColor.withOpacity(0.2), borderRadius: BorderRadius.circular(2), ), ), Expanded( child: Padding( padding: const EdgeInsets.symmetric(horizontal: 24), child: Column( crossAxisAlignment: CrossAxisAlignment.start, children: [ Row( children: [ Container( width: 48, height: 48, decoration: BoxDecoration( color: accentColor.withOpacity(0.1), borderRadius: BorderRadius.circular(12), border: Border.all( color: accentColor.withOpacity(0.2), width: 1, ), ), child: Icon( Icons.mail_outline, color: accentColor, size: 24, ), ), const SizedBox(width: 16), Column( crossAxisAlignment: CrossAxisAlignment.start, children: [ Text( 'Email Transaction', style: GoogleFonts.inter( color: primaryColor, fontSize: 20, fontWeight: FontWeight.w700, ), ), Text( 'Forward receipts to add transactions', style: GoogleFonts.inter( color: primaryColor.withOpacity(0.6), fontSize: 14, fontWeight: FontWeight.w500, ), ), ], ), ], ), const SizedBox(height: 32), Expanded( child: Center( child: Column( mainAxisAlignment: MainAxisAlignment.center, children: [ Icon( Icons.email, size: 64, color: accentColor.withOpacity(0.3), ), const SizedBox(height: 16), Text( 'Email integration coming soon!', style: GoogleFonts.inter( color: primaryColor.withOpacity(0.6), fontSize: 16, fontWeight: FontWeight.w500, ), ), ], ), ), ), ], ), ), ), ], ), ); } }