Questions tagged [linearprogressindicator]

8 questions
1
vote
0 answers

Android LinearProgressIndicator "updateSurface: has no frame"

in a constraint layout I show a progress bar as shown below.
Luca Biasotto
  • 205
  • 1
  • 11
1
vote
1 answer

Show LinearProgressIndicator in AppBar

I have this question how to show LinearProgressIndicator in my AppBar, when the user makes an API request like login, catch data from the server etc? The following code is the menu: import 'package:flutter/material.dart'; import…
1
vote
1 answer

Horizontal Progress Bar - How to add label inside indicator?

I'm using the material library's LinearProgressIndicator for a horizontal progress bar. How would I add a label inside the indicator of the progressbar indicator?
0
votes
1 answer

How can I use StateFlow with LinearProgressIndicator to show progress

I'm new to Compose framework and StateFlows. I want LinearProgressIndicator to show progress that will be emitted from downloadProgress StateFlow. How can I achieve that? @Composable fun DownloadProgressDialog( downloadProgress:…
0
votes
0 answers

LinearProgressIndicator doesn't fit parent widget

I'm trying to give the LinearProgressIndicator width for the available space using LayoutBuilder but it throws an exception: Here's my code for regenerating the issue: Positioned( left: 0, right: 0, …
eqrakhattak
  • 535
  • 2
  • 7
  • 21
0
votes
2 answers

Update progress of LinearProgressIndicator from a coroutine

So I'm just getting back to Android development after being away from it for several years, and of course, it's vastly different now, what with Jetpack Compose being the hot new stuff now. I'm kicking off a Kotlin coroutine that is a long process,…
0
votes
1 answer

How to use Linear Indicator dynamic stock values

I want linear indicator for dynamic values how to use condition in stock details and color values
0
votes
0 answers

Material LinearProgressIndicator how to set only specific corners instead of all

On the LinearProgressIndicator from Material, I can see only one way to set the corner radius for track and indicator: setTrackCornerRadius(int) // or xml app:trackCornerRadius="int" This however sets corner radius for all corners.. Is there any…