|
|
|
|
@ -188,7 +188,6 @@ class ServicesMenuShimmer extends StatelessWidget {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class MarathonBannerShimmer extends StatelessWidget {
|
|
|
|
|
const MarathonBannerShimmer({Key? key}) : super(key: key);
|
|
|
|
|
|
|
|
|
|
@ -236,6 +235,11 @@ class MarathonBannerShimmer extends StatelessWidget {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
class ChatHomeShimmer extends StatelessWidget {
|
|
|
|
|
bool isDetailedScreen;
|
|
|
|
|
|
|
|
|
|
ChatHomeShimmer({Key? key, required this.isDetailedScreen}) : super(key: key);
|
|
|
|
|
|
|
|
|
|
@override
|
|
|
|
|
@override
|
|
|
|
|
Widget build(BuildContext context) {
|
|
|
|
|
return Container(
|
|
|
|
|
@ -254,42 +258,42 @@ class ChatHomeShimmer extends StatelessWidget {
|
|
|
|
|
child: Row(
|
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.start,
|
|
|
|
|
children: <Widget>[
|
|
|
|
|
Container(
|
|
|
|
|
width: 48.0,
|
|
|
|
|
height: 48.0,
|
|
|
|
|
decoration: BoxDecoration(color: Colors.white, borderRadius: BorderRadius.all(Radius.circular(40))),
|
|
|
|
|
),
|
|
|
|
|
const Padding(
|
|
|
|
|
padding: EdgeInsets.symmetric(horizontal: 8.0),
|
|
|
|
|
),
|
|
|
|
|
Expanded(
|
|
|
|
|
child: Column(
|
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.start,
|
|
|
|
|
children: <Widget>[
|
|
|
|
|
Container(
|
|
|
|
|
width: double.infinity,
|
|
|
|
|
height: 8.0,
|
|
|
|
|
color: Colors.white,
|
|
|
|
|
),
|
|
|
|
|
const Padding(
|
|
|
|
|
padding: EdgeInsets.symmetric(vertical: 2.0),
|
|
|
|
|
),
|
|
|
|
|
Container(
|
|
|
|
|
width: double.infinity,
|
|
|
|
|
height: 8.0,
|
|
|
|
|
color: Colors.white,
|
|
|
|
|
),
|
|
|
|
|
const Padding(
|
|
|
|
|
padding: EdgeInsets.symmetric(vertical: 2.0),
|
|
|
|
|
),
|
|
|
|
|
Container(
|
|
|
|
|
width: 40.0,
|
|
|
|
|
height: 8.0,
|
|
|
|
|
color: Colors.white,
|
|
|
|
|
),
|
|
|
|
|
],
|
|
|
|
|
if (!isDetailedScreen)
|
|
|
|
|
Container(
|
|
|
|
|
width: 48.0,
|
|
|
|
|
height: 48.0,
|
|
|
|
|
decoration: const BoxDecoration(color: Colors.white, borderRadius: BorderRadius.all(Radius.circular(40))),
|
|
|
|
|
),
|
|
|
|
|
if (!isDetailedScreen)
|
|
|
|
|
const Padding(
|
|
|
|
|
padding: EdgeInsets.symmetric(horizontal: 8.0),
|
|
|
|
|
),
|
|
|
|
|
)
|
|
|
|
|
Column(
|
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.start,
|
|
|
|
|
children: <Widget>[
|
|
|
|
|
Container(
|
|
|
|
|
width: double.infinity,
|
|
|
|
|
height: 8.0,
|
|
|
|
|
color: Colors.white,
|
|
|
|
|
),
|
|
|
|
|
const Padding(
|
|
|
|
|
padding: EdgeInsets.symmetric(vertical: 2.0),
|
|
|
|
|
),
|
|
|
|
|
Container(
|
|
|
|
|
width: double.infinity,
|
|
|
|
|
height: 8.0,
|
|
|
|
|
color: Colors.white,
|
|
|
|
|
),
|
|
|
|
|
const Padding(
|
|
|
|
|
padding: EdgeInsets.symmetric(vertical: 2.0),
|
|
|
|
|
),
|
|
|
|
|
Container(
|
|
|
|
|
width: 40.0,
|
|
|
|
|
height: 8.0,
|
|
|
|
|
color: Colors.white,
|
|
|
|
|
),
|
|
|
|
|
],
|
|
|
|
|
).expanded
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
|