import '../../../l10n/app_localizations.dart'; import 'package:flutter/material.dart'; class BranchLocatorScreen extends StatelessWidget { const BranchLocatorScreen({super.key}); @override Widget build(BuildContext context) { return Scaffold( appBar: AppBar( title: Text(AppLocalizations.of(context).branchLocator), ), body: Center( child: Column( mainAxisAlignment: MainAxisAlignment.center, children: [ Icon( Icons.location_on, size: 80, color: Theme.of(context).primaryColor, ), const SizedBox(height: 16), Text( AppLocalizations.of(context).findnearbybranched, style: const TextStyle(fontSize: 20, fontWeight: FontWeight.bold), ), const SizedBox(height: 24), ElevatedButton.icon( icon: const Icon(Icons.search), label: Text( AppLocalizations.of(context).searchbranch), onPressed: () { // Place API here ScaffoldMessenger.of(context).showSnackBar( SnackBar(content: Text( AppLocalizations.of(context).branchsearchsoon)), ); }, ), ], ), ), ); } }