show hashed colors while avatar loading
This commit is contained in:
parent
8b310c955d
commit
ed0292468a
1 changed files with 2 additions and 0 deletions
|
|
@ -61,6 +61,8 @@ class AvatarOrHash extends ConsumerWidget {
|
|||
headers: ref.headers,
|
||||
),
|
||||
fit: BoxFit.cover,
|
||||
loadingBuilder: (_, child, loadingProgress) =>
|
||||
loadingProgress == null ? child : box,
|
||||
errorBuilder: (_, _, _) => box,
|
||||
),
|
||||
),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue