Files
PiliPlus/lib/common/skeleton/msg_feed_top.dart
bggRGjQaUbCoE 95caf111ae mod: add skeleton
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
2025-04-21 10:19:57 +08:00

37 lines
845 B
Dart

import 'package:flutter/material.dart';
import 'skeleton.dart';
class MsgFeedTopSkeleton extends StatelessWidget {
const MsgFeedTopSkeleton({super.key});
@override
Widget build(BuildContext context) {
final color = Theme.of(context).colorScheme.onInverseSurface;
return Skeleton(
child: ListTile(
leading: Container(
width: 45,
height: 45,
decoration: BoxDecoration(
shape: BoxShape.circle,
color: color,
),
),
title: UnconstrainedBox(
alignment: Alignment.centerLeft,
child: Container(
width: 100,
height: 11,
color: color,
),
),
subtitle: Container(
color: color,
width: 125,
height: 11,
),
),
);
}
}