Add a Scrollable builder, refactor ScrollableList, et al (#3950)
* Add a Scrollable builder, refactor ScrollableList, et al * Add space between the dialog demo buttons * removed vestigial code
This commit is contained in:
@@ -197,6 +197,14 @@ class DialogDemoState extends State<DialogDemo> {
|
||||
}
|
||||
)
|
||||
]
|
||||
// Add a little space between the buttons
|
||||
.map((Widget button) {
|
||||
return new Container(
|
||||
padding: const EdgeInsets.symmetric(vertical: 8.0),
|
||||
child: button
|
||||
);
|
||||
})
|
||||
.toList()
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user