|
|
@ -152,10 +152,8 @@ class _PostComponentState extends State<PostComponent> with TickerProviderStateM
|
|
|
|
children: [
|
|
|
|
children: [
|
|
|
|
SizedBox(
|
|
|
|
SizedBox(
|
|
|
|
width: double.infinity,
|
|
|
|
width: double.infinity,
|
|
|
|
child: FadeInImage.assetNetwork(
|
|
|
|
child: Image.network(
|
|
|
|
image: widget.post.music.cover!,
|
|
|
|
widget.post.music.cover!,
|
|
|
|
fadeInDuration: const Duration(milliseconds: 100),
|
|
|
|
|
|
|
|
placeholder: "assets/images/loadingPlaceholder.gif",
|
|
|
|
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
Image(
|
|
|
|
Image(
|
|
|
@ -196,11 +194,9 @@ class _PostComponentState extends State<PostComponent> with TickerProviderStateM
|
|
|
|
child: ClipRRect(
|
|
|
|
child: ClipRRect(
|
|
|
|
borderRadius: BorderRadius.circular(13),
|
|
|
|
borderRadius: BorderRadius.circular(13),
|
|
|
|
// implement image
|
|
|
|
// implement image
|
|
|
|
child: FadeInImage.assetNetwork(
|
|
|
|
child: Image.network(
|
|
|
|
image: widget.post.selfie!,
|
|
|
|
widget.post.selfie!,
|
|
|
|
fit: BoxFit.cover,
|
|
|
|
fit: BoxFit.cover,
|
|
|
|
fadeInDuration: const Duration(milliseconds: 100),
|
|
|
|
|
|
|
|
placeholder: "assets/images/loadingPlaceholder.gif",
|
|
|
|
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|