|
|
|
|
@ -71,19 +71,17 @@ class Avatar extends StatelessWidget {
|
|
|
|
|
borderRadius: borderRadius,
|
|
|
|
|
side: border ?? BorderSide.none,
|
|
|
|
|
),
|
|
|
|
|
clipBehavior: Clip.hardEdge,
|
|
|
|
|
child:
|
|
|
|
|
clipBehavior: Clip.antiAlias,
|
|
|
|
|
// #Pangea
|
|
|
|
|
(userId ?? presenceUserId) == BotName.byEnvironment
|
|
|
|
|
// child: noPic
|
|
|
|
|
child: (userId ?? presenceUserId) == BotName.byEnvironment
|
|
|
|
|
? BotFace(
|
|
|
|
|
width: size,
|
|
|
|
|
expression: BotExpression.idle,
|
|
|
|
|
useRive: useRive,
|
|
|
|
|
)
|
|
|
|
|
:
|
|
|
|
|
: noPic
|
|
|
|
|
// Pangea#
|
|
|
|
|
|
|
|
|
|
noPic
|
|
|
|
|
? Container(
|
|
|
|
|
decoration:
|
|
|
|
|
BoxDecoration(color: name?.lightColorAvatar),
|
|
|
|
|
|