userProfileMenuSkeletonUI method
dynamic
userProfileMenuSkeletonUI(
)
Implementation
Widget userProfileMenuSkeletonUI(BuildContext context) {
return Skeletonizer(
child: Card(
child: Padding(
padding: const EdgeInsets.all(16),
child: Row(
children: [
CircleAvatar(
backgroundColor: Theme.of(context).colorScheme.onSurface,
),
const SizedBox(width: 10),
Column(
mainAxisAlignment: MainAxisAlignment.start,
crossAxisAlignment: CrossAxisAlignment.start,
children: [
Text(L10n.of(context).displayName),
Text(L10n.of(context).username),
],
),
],
),
),
),
);
}