check number of items for alingment
This commit is contained in:
parent
45d563310e
commit
7eaa879ff4
1 changed files with 6 additions and 3 deletions
|
|
@ -48,9 +48,12 @@ class _MIHLayoutBuilderState extends State<MIHLayoutBuilder> {
|
|||
if (widget.secondaryActionButton != null) {
|
||||
temp.add(widget.secondaryActionButton!);
|
||||
} else {
|
||||
temp.add(const SizedBox(
|
||||
width: 50,
|
||||
));
|
||||
print(widget.header.headerItems.length);
|
||||
if (widget.header.headerItems.length == 1) {
|
||||
temp.add(const SizedBox(
|
||||
width: 50,
|
||||
));
|
||||
}
|
||||
}
|
||||
return Row(
|
||||
mainAxisSize: MainAxisSize.min,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue