-1

I added the flutter localization in my flutter app. Copy paste stopped working and it does not work even i copy text from somewhere else, it does not allow me to paste the text, please if someone have solution, let me know, thanks.

1
  • 1
    Try to explain more in details of your issue. What library is ? What have you tried to do ? The steps you've already made... Commented Nov 18, 2024 at 7:50

1 Answer 1

0

Have you addedd localizationsDelegates inside your MaterialApp ?

localizationsDelegates: [
    GlobalMaterialLocalizations.delegate,
    GlobalWidgetsLocalizations.delegate,
    GlobalCupertinoLocalizations.delegate,
],
Sign up to request clarification or add additional context in comments.

1 Comment

yes i added these ` localizationsDelegates: [ AppLocalizations.delegate, GlobalMaterialLocalizations.delegate, GlobalWidgetsLocalizations.delegate, GlobalCupertinoLocalizations.delegate ], locale: themeNotifier.currentLocale, supportedLocales: [ Locale('en'), Locale('ru'), Locale('ar'), Locale('fr'), Locale('es'), ],`

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.