buildScrollable method
Implementation
Widget buildScrollable(
Widget child, {
List<Widget>? aboveWidgets,
List<Widget>? belowWidgets,
String? title,
bool? ok,
bool? cancel,
DialogWidth? dialogWidth,
}) {
if (title != null) this.title(title.text());
this.actions(ok: ok, cancel: cancel);
if (dialogWidth != null) this.dialogWidth = dialogWidth;
ListWidget ls = [
if (panelTitle != null) panelTitle!,
if (aboveWidgets != null) ...aboveWidgets,
child.flexible(),
if (belowWidgets != null) ...belowWidgets,
if (panelActions != null) panelActions!,
];
return _constrainWidth(ls);
}