|
|
|
@ -125,7 +125,7 @@ class PresenceAvatar extends StatelessWidget {
|
|
|
|
|
final statusMsgBubbleElevation =
|
|
|
|
|
Theme.of(context).appBarTheme.scrolledUnderElevation ?? 4;
|
|
|
|
|
final statusMsgBubbleShadowColor =
|
|
|
|
|
Theme.of(context).appBarTheme.shadowColor;
|
|
|
|
|
Theme.of(context).colorScheme.onBackground;
|
|
|
|
|
final statusMsgBubbleColor = Colors.white.withAlpha(245);
|
|
|
|
|
return Padding(
|
|
|
|
|
padding: const EdgeInsets.symmetric(horizontal: 8.0),
|
|
|
|
@ -187,12 +187,7 @@ class PresenceAvatar extends StatelessWidget {
|
|
|
|
|
left: 0,
|
|
|
|
|
top: 0,
|
|
|
|
|
right: 8,
|
|
|
|
|
child: Column(
|
|
|
|
|
mainAxisSize: MainAxisSize.min,
|
|
|
|
|
crossAxisAlignment:
|
|
|
|
|
CrossAxisAlignment.stretch,
|
|
|
|
|
children: [
|
|
|
|
|
Material(
|
|
|
|
|
child: Material(
|
|
|
|
|
elevation: statusMsgBubbleElevation,
|
|
|
|
|
shadowColor: statusMsgBubbleShadowColor,
|
|
|
|
|
borderRadius: BorderRadius.circular(
|
|
|
|
@ -212,28 +207,35 @@ class PresenceAvatar extends StatelessWidget {
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
Padding(
|
|
|
|
|
padding: const EdgeInsets.only(
|
|
|
|
|
left: 26.0,
|
|
|
|
|
top: 4.0,
|
|
|
|
|
),
|
|
|
|
|
child: Center(
|
|
|
|
|
child: SizedBox(
|
|
|
|
|
width: 12,
|
|
|
|
|
height: 12,
|
|
|
|
|
Positioned(
|
|
|
|
|
left: 8,
|
|
|
|
|
top: 32,
|
|
|
|
|
child: Material(
|
|
|
|
|
elevation:
|
|
|
|
|
statusMsgBubbleElevation,
|
|
|
|
|
shadowColor:
|
|
|
|
|
statusMsgBubbleShadowColor,
|
|
|
|
|
borderRadius:
|
|
|
|
|
BorderRadius.circular(99),
|
|
|
|
|
color: statusMsgBubbleColor,
|
|
|
|
|
elevation: statusMsgBubbleElevation,
|
|
|
|
|
shadowColor: statusMsgBubbleShadowColor,
|
|
|
|
|
borderRadius: BorderRadius.circular(
|
|
|
|
|
AppConfig.borderRadius / 2,
|
|
|
|
|
),
|
|
|
|
|
child: const SizedBox(
|
|
|
|
|
width: 8,
|
|
|
|
|
height: 8,
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
],
|
|
|
|
|
Positioned(
|
|
|
|
|
left: 14,
|
|
|
|
|
top: 40,
|
|
|
|
|
child: Material(
|
|
|
|
|
elevation: statusMsgBubbleElevation,
|
|
|
|
|
shadowColor: statusMsgBubbleShadowColor,
|
|
|
|
|
borderRadius: BorderRadius.circular(
|
|
|
|
|
AppConfig.borderRadius / 2,
|
|
|
|
|
),
|
|
|
|
|
child: const SizedBox(
|
|
|
|
|
width: 4,
|
|
|
|
|
height: 4,
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
],
|
|
|
|
|