Document and bring sanity to BoxConstraints
Turns out many of the functions on BoxConstraints weren't used or had callers that could easily be updated to other functions. I've added dartdoc to all the public functions as well as renamed some functions that had similar names but did different things.
This commit is contained in:
@@ -53,7 +53,7 @@ HAL: This mission is too important for me to allow you to jeopardize it.''';
|
||||
|
||||
Component createSeparator() {
|
||||
return new Container(
|
||||
constraints: const BoxConstraints.expandWidth(maxHeight: 0.0),
|
||||
constraints: const BoxConstraints.expand(height: 0.0),
|
||||
margin: const EdgeDims.symmetric(vertical: 10.0, horizontal: 64.0),
|
||||
decoration: const BoxDecoration(
|
||||
border: const Border(
|
||||
|
||||
Reference in New Issue
Block a user