parent
c63afbb06b
commit
766233f0ff
2 changed files with 20 additions and 6 deletions
@ -0,0 +1,14 @@ |
||||
class OptionalSize { |
||||
OptionalSize( |
||||
this.width, |
||||
this.height, |
||||
); |
||||
|
||||
/// If non-null, requires the child to have exactly this width. |
||||
/// If null, the child is free to choose its own width. |
||||
final double? width; |
||||
|
||||
/// If non-null, requires the child to have exactly this height. |
||||
/// If null, the child is free to choose its own height. |
||||
final double? height; |
||||
} |
Loading…
Reference in new issue