design: Remove annoying progress indicator from avatar
This commit is contained in:
parent
ac32973c3d
commit
43c3c75b2e
1 changed files with 1 additions and 6 deletions
|
|
@ -69,12 +69,7 @@ class Avatar extends StatelessWidget {
|
|||
fit: BoxFit.cover,
|
||||
width: size,
|
||||
height: size,
|
||||
placeholder: (c, s) => Stack(
|
||||
children: [
|
||||
Center(child: CircularProgressIndicator(strokeWidth: 2)),
|
||||
textWidget,
|
||||
],
|
||||
),
|
||||
placeholder: (c, s) => textWidget,
|
||||
errorWidget: (c, s, d) => Stack(
|
||||
children: [
|
||||
textWidget,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue