Olivier Patry
03/08/2021, 12:42 PMLinearProgressIndicator(Modifier.fillMaxWidth().height(1.dp))
The implementation hard codes its size it seems:
Canvas(
modifier
.progressSemantics()
.size(LinearIndicatorWidth, LinearIndicatorHeight)
.focusable()
Any solution?okarm
03/08/2021, 12:56 PMapp:trackThickness
). None of [iOS, Flutter, Web] MDC implementations allow variable indicator height out of the box.
https://material.io/components/progress-indicators#specsOlivier Patry
03/08/2021, 1:12 PMOlivier Patry
03/08/2021, 1:14 PMCircularProgressIndicator
to
1. adjust stroke end to round
2. add "background" layer of the progress
I would have expected tuning parameters of the standard component for things like that (strokeCap =
with relevant default and backgroundColor =
)Olivier Patry
03/08/2021, 1:18 PMAlbert Chang
03/08/2021, 3:21 PMBox
with 1dp height (probably also clipToBounds()
).Olivier Patry
03/08/2021, 4:00 PMOlivier Patry
03/08/2021, 4:01 PMlouiscad
03/08/2021, 4:10 PM