Closed IAMIbrahimmemon closed 7 months ago
It looks like this problem comes from build_runner
. Are you able to successfully execute flutter pub get
?
yes
I followed your instructions to reproduce the problem on this package's example, but I did not receive any errors. Since the error describes a conflict with build_runner
, it seems your instructions to reproduce the error must include adding a dependency on build_runner ^2.4.6
, which I also did but did not reproduce the error.
The current Dart SDK version is 2.19.2. build_runner 2.4.6 requires SDK version ^3.0.0
The problem is that build_runner 2.4.6
requires Dart version 3.0.0 or greater and you are running Dart 2.19.2. It has nothing to do with this package.
Describe the bug
When I run
dart run flutter_native_splash:create
I get this: `The current Dart SDK version is 2.19.2.
Because no versions of build_runner match >2.4.6 <3.0.0 and build_runner 2.4.6 requires SDK version ^3.0.0, build_runner ^2.4.6 is forbidden. So, because iwingo_app depends on build_runner ^2.4.6, version solving failed.`
Configuration
Paste the flutter_native_splash section of your yaml config.
Device (please complete the following information):
To Reproduce Steps to reproduce the behavior, using the example app:
flutter pub add flutter_native_splash
dart run flutter_native_splash:create
Screenshots
Additional context I want to add native splash to my flutter app to stop showing the white screen