bir kaç gündür böyle bir hata alıyorum çözümünü bulamadım. Flutter clean ve flutter run yaprım ama bir değişiklik olmadı.
/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/device_preview-0.5.5/lib/src/state/store.dart:74:31: Error: ‘basicLocaleListResolution’ is imported from both ‘package:flutter/src/widgets/app.dart’ and ‘package:device_preview/src/locales/locales.dart’.
final defaultLocale = basicLocaleListResolution(
^^^^^^^^^^^^^^^^^^^^^^^^^
2
FAILURE: Build failed with an exception.
Process ’command ‘C:\src\flutter\bin\flutter.bat’' finished with non-zero exit value 1
- Try:
Run with –stacktrace option to get the stack trace. Run with –info or –debug option to get more log output. Run with –scan to get full insights.