Skip to main content

Placeholder 2

Image

import 'package:flutter/material.dart';
import 'package:gap/gap.dart';
import 'package:shimmer/shimmer.dart';
Shimmer.fromColors(
baseColor: Colors.black26,
highlightColor: Colors.black54,
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
Container(
width: 150,
height: 16,
decoration: BoxDecoration(
borderRadius: BorderRadius.circular(4),
color: Colors.black26,
),
),
const Gap(16),
...[300, double.infinity, 325, 260].asMap().entries.map((e) {
return Container(
width: e.value.toDouble(),
height: 12,
margin: EdgeInsets.only(top: e.key == 0 ? 0 : 8),
decoration: BoxDecoration(
borderRadius: BorderRadius.circular(4),
color: Colors.black26,
),
);
}),
],
),
),