CircularProgressIndicator.adaptive(
This commit is contained in:
parent
55d44929b9
commit
5796e41d2a
16 changed files with 37 additions and 24 deletions
|
|
@ -56,7 +56,7 @@ class _ConnectionStatusHeaderState extends State<ConnectionStatusHeader> {
|
|||
SizedBox(
|
||||
width: 24,
|
||||
height: 24,
|
||||
child: CircularProgressIndicator(
|
||||
child: CircularProgressIndicator.adaptive(
|
||||
strokeWidth: 2,
|
||||
value: _connected ? 1.0 : _status.progress,
|
||||
),
|
||||
|
|
|
|||
|
|
@ -135,7 +135,7 @@ class _AudioPlayerState extends State<AudioPlayerWidget> {
|
|||
Container(
|
||||
width: 30,
|
||||
child: status == AudioPlayerStatus.downloading
|
||||
? CircularProgressIndicator(strokeWidth: 2)
|
||||
? CircularProgressIndicator.adaptive(strokeWidth: 2)
|
||||
: IconButton(
|
||||
icon: Icon(
|
||||
audioPlayer.state == PlayerState.PLAYING
|
||||
|
|
|
|||
|
|
@ -249,7 +249,7 @@ class _ImageBubbleState extends State<ImageBubble> {
|
|||
children: <Widget>[
|
||||
if (blurhash != null) blurhash,
|
||||
Center(
|
||||
child: child ?? CircularProgressIndicator(strokeWidth: 2),
|
||||
child: child ?? CircularProgressIndicator.adaptive(strokeWidth: 2),
|
||||
),
|
||||
],
|
||||
);
|
||||
|
|
|
|||
|
|
@ -79,7 +79,8 @@ class ProfileBottomSheet extends StatelessWidget {
|
|||
child: snapshot.hasError
|
||||
? Text(snapshot.error
|
||||
.toLocalizedString(context))
|
||||
: CircularProgressIndicator(),
|
||||
: CircularProgressIndicator.adaptive(
|
||||
strokeWidth: 2),
|
||||
)
|
||||
: ContentBanner(
|
||||
profile.avatarUrl,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue