You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
HMG_Patient_App_New/lib/widgets/shimmer/movies_shimmer_widget.dart

44 lines
1.3 KiB
Dart

2 months ago
import 'package:hmg_patient_app_new/extensions/int_extensions.dart';
import 'package:hmg_patient_app_new/extensions/widget_extensions.dart';
import 'package:hmg_patient_app_new/theme/colors.dart';
import 'package:flutter/material.dart';
class MoviesShimmerWidget extends StatelessWidget {
const MoviesShimmerWidget({super.key});
@override
Widget build(BuildContext context) {
return SizedBox(
child: Container(
decoration: BoxDecoration(
borderRadius: const BorderRadius.all(
Radius.circular(10),
),
border: Border.all(color: lightGreyEFColor, width: 1),
boxShadow: [
BoxShadow(
color: const Color(0xff000000).withOpacity(.05),
blurRadius: 26,
offset: const Offset(0, -3),
),
],
),
child: Padding(
padding: const EdgeInsets.all(12.0),
child: Column(
children: [
Container(height: 100).toShimmer(),
16.height,
Container(height: 24).toShimmer(),
16.height,
Container(height: 48).toShimmer(),
16.height,
Container(height: 24).toShimmer(),
8.height
],
),
)),
);
}
}