تقييمات الطلاب
( 5 من 5 )
١ تقييمات
فيديو شرح 13- Flutter Fade in images with an assets placeholder (Arabic) ضمن كورس Flutter شرح قناة Code2Start - Mohamed Fathy Taha، الفديو رقم 13 مجانى معتمد اونلاين
You can also consider using local assets for placeholders. First, add the asset to the project’s pubspec.yaml file
flutter:
assets:
+ - assets/loading.gif
Then, use the FadeInImage.assetNetwork() constructor:
FadeInImage.assetNetwork(
placeholder: 'assets/loading.gif',
image: 'https://picsum.photos/250?image9',
);