Code before migration:

AlertDialog

title:

Text

'Very, very large title that is also scrollable'

textScaleFactor:

),

content:

SingleChildScrollView

// won't be scrollable

child:

Text

'Scrollable content'

textScaleFactor:

),

),

actions:

Widget

>[

TextButton

child:

Text

'Button 1'

),

onPressed:

()

{}),

TextButton

child:

Text

'Button 2'

),