|
@@ -9,6 +9,7 @@ import '/flutter_flow/flutter_flow_widgets.dart';
|
|
|
import '/shared/drawer_component/drawer_component_widget.dart';
|
|
import '/shared/drawer_component/drawer_component_widget.dart';
|
|
|
import 'dart:ui';
|
|
import 'dart:ui';
|
|
|
import 'package:carousel_slider/carousel_slider.dart';
|
|
import 'package:carousel_slider/carousel_slider.dart';
|
|
|
|
|
+import 'package:cached_network_image/cached_network_image.dart';
|
|
|
import 'package:flutter/material.dart';
|
|
import 'package:flutter/material.dart';
|
|
|
import 'package:flutter_spinkit/flutter_spinkit.dart';
|
|
import 'package:flutter_spinkit/flutter_spinkit.dart';
|
|
|
import 'package:google_fonts/google_fonts.dart';
|
|
import 'package:google_fonts/google_fonts.dart';
|
|
@@ -270,8 +271,10 @@ class _EventCurrentWidgetState extends State<EventCurrentWidget>
|
|
|
final fotoosItem = fotoos[fotoosIndex];
|
|
final fotoosItem = fotoos[fotoosIndex];
|
|
|
return ClipRRect(
|
|
return ClipRRect(
|
|
|
borderRadius: BorderRadius.circular(8.0),
|
|
borderRadius: BorderRadius.circular(8.0),
|
|
|
- child: Image.network(
|
|
|
|
|
- fotoosItem,
|
|
|
|
|
|
|
+ child: CachedNetworkImage(
|
|
|
|
|
+ fadeInDuration: Duration(milliseconds: 500),
|
|
|
|
|
+ fadeOutDuration: Duration(milliseconds: 500),
|
|
|
|
|
+ imageUrl: fotoosItem,
|
|
|
width: 200.0,
|
|
width: 200.0,
|
|
|
height: 200.0,
|
|
height: 200.0,
|
|
|
fit: BoxFit.cover,
|
|
fit: BoxFit.cover,
|
|
@@ -563,8 +566,12 @@ class _EventCurrentWidgetState extends State<EventCurrentWidget>
|
|
|
4.0, 2.0, 4.0, 15.0),
|
|
4.0, 2.0, 4.0, 15.0),
|
|
|
child: ClipRRect(
|
|
child: ClipRRect(
|
|
|
borderRadius: BorderRadius.circular(8.0),
|
|
borderRadius: BorderRadius.circular(8.0),
|
|
|
- child: Image.network(
|
|
|
|
|
- EvenementCall.eventLogog(
|
|
|
|
|
|
|
+ child: CachedNetworkImage(
|
|
|
|
|
+ fadeInDuration:
|
|
|
|
|
+ Duration(milliseconds: 500),
|
|
|
|
|
+ fadeOutDuration:
|
|
|
|
|
+ Duration(milliseconds: 500),
|
|
|
|
|
+ imageUrl: EvenementCall.eventLogog(
|
|
|
eventCurrentEvenementResponse.jsonBody,
|
|
eventCurrentEvenementResponse.jsonBody,
|
|
|
)!,
|
|
)!,
|
|
|
width: MediaQuery.sizeOf(context).width *
|
|
width: MediaQuery.sizeOf(context).width *
|