Just basic Flutter app.
Center(
child: Image.asset('assets/img1.jpg')
)
Everything works fine, as long as I try to change the image. The image in the application remains old. Neither "Hot Reboot" nor "Hot Restart" helps, only stopping and launching the application.
The same situation when I add second image, app always crashes with an error (image not found, or bad image codec) until I restart it.
Center(
Column(children: [
Image.asset('assets/img1.jpg'),
Image.asset('assets/img2.jpg'),
])
)
Is this normal behavior?
Flutter (stable channel, 3.0.5, in Microsoft Windows [Version 10.0.19044.1889])
[√] Android toolchain - development for Android devices (Android SDK version 33.0)
[√] Chrome - development for the Internet
[√] Visual Studio - Development for Windows (Visual Studio Community 2022 17.3.1)
[√] Android Studio (version 2021.2)