);

),

),

);

},

),

);

Code after migration:

// These side-by-side ListViews will no longer throw errors, but for

// default ScrollActions, one will need to be designated as primary.

Scaffold

body:

LayoutBuilder

builder:

context

constraints

return

Row

children:

SizedBox

height:

constraints

maxHeight

width:

constraints

maxWidth

child:

ListView

builder

// This ScrollView will use the PrimaryScrollController

primary:

true