updates and bug fixes
This commit is contained in:
parent
8aacce5aa8
commit
351d47b3ff
9 changed files with 419 additions and 64 deletions
|
|
@ -32,6 +32,11 @@ class BlockProgressBar extends StatelessWidget {
|
|||
return SizedBox(
|
||||
height: height,
|
||||
child: Row(
|
||||
// Stretch each cell to the bar's full height. Without this the childless
|
||||
// ColoredBox cells get loose (min-height 0) constraints under the Row's
|
||||
// default center alignment and collapse to zero height — making the whole
|
||||
// bar invisible.
|
||||
crossAxisAlignment: CrossAxisAlignment.stretch,
|
||||
children: List.generate(cells, (i) {
|
||||
return Expanded(
|
||||
child: Padding(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue