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,
|
fit: BoxFit.cover,
|
||||||
width: size,
|
width: size,
|
||||||
height: size,
|
height: size,
|
||||||
placeholder: (c, s) => Stack(
|
placeholder: (c, s) => textWidget,
|
||||||
children: [
|
|
||||||
Center(child: CircularProgressIndicator(strokeWidth: 2)),
|
|
||||||
textWidget,
|
|
||||||
],
|
|
||||||
),
|
|
||||||
errorWidget: (c, s, d) => Stack(
|
errorWidget: (c, s, d) => Stack(
|
||||||
children: [
|
children: [
|
||||||
textWidget,
|
textWidget,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue