ab:deal push error, show error banner, fix splash empty by remove reset

Signed-off-by: 21pages <pages21@163.com>
This commit is contained in:
21pages
2023-08-13 14:46:04 +08:00
parent 5112398ad3
commit b2f5e2f927
40 changed files with 262 additions and 98 deletions

View File

@@ -229,13 +229,14 @@ class _PeerCardState extends State<_PeerCard>
: '',
child: Stack(children: [
child,
Positioned(
top: 2,
right: 10,
child: CustomPaint(
painter: TagPainter(radius: 3, colors: colors),
),
)
if (colors.isNotEmpty)
Positioned(
top: 2,
right: 10,
child: CustomPaint(
painter: TagPainter(radius: 3, colors: colors),
),
)
]),
);
}
@@ -329,13 +330,14 @@ class _PeerCardState extends State<_PeerCard>
: '',
child: Stack(children: [
child,
Positioned(
top: 4,
right: 12,
child: CustomPaint(
painter: TagPainter(radius: 4, colors: colors),
),
)
if (colors.isNotEmpty)
Positioned(
top: 4,
right: 12,
child: CustomPaint(
painter: TagPainter(radius: 4, colors: colors),
),
)
]),
);
}