mirrored_repositories/google_search_engine/lib
import 'package:flutter/material.dart';
import 'package:google_search_engine/widgets/language_text.dart';

class TranslationButtons extends StatelessWidget {
  const TranslationButtons({super.key});

  @override
  Widget build(BuildContext context) {
    return const Padding(
      padding: EdgeInsets.symmetric(horizontal: 8.0),
      child: Wrap(
        alignment: WrapAlignment.center,
        children: [
          Text('Google Offered in:'),
          SizedBox(width: 8),
          LanguageText(title: 'हिन्दी'),
          SizedBox(width: 8),
          LanguageText(title: 'বাংলা'),
          SizedBox(width: 8),
          LanguageText(title: 'తెలుగు'),
          SizedBox(width: 8),
          LanguageText(title: 'मराठी'),
          SizedBox(width: 8),
          LanguageText(title: 'தமிழ்'),
          SizedBox(width: 8),
          LanguageText(title: 'ગુજરાતી'),
          SizedBox(width: 8),
          LanguageText(title: 'ಕನ್ನಡ'),
          SizedBox(width: 8),
          LanguageText(title: 'മലയാളം'),
          SizedBox(width: 8),
          LanguageText(title: 'ਪੰਜਾਬੀ'),
        ],
      ),
    );
  }
}
