Skip to content

Commit

Permalink
Merge pull request #4 from y-pakorn/fix-width
Browse files Browse the repository at this point in the history
fix fullWidth to be working as expected
  • Loading branch information
SaltyAom authored Jul 11, 2021
2 parents 916620c + b512623 commit 97936d8
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/widget/base.dart
Original file line number Diff line number Diff line change
Expand Up @@ -775,12 +775,10 @@ extension BaseProperty on Niku {
/// ```
/// SizedBox(
/// width: double.infinity,
/// height: double.infinity
/// )
/// ```
Niku fullWidth() {
_widget = SizedBox(
width: double.infinity, height: double.infinity, child: _widget);
_widget = SizedBox(width: double.infinity, child: _widget);

return this;
}
Expand Down

0 comments on commit 97936d8

Please sign in to comment.