Text

'Button 2'

),

onPressed:

()

{}),

],

Code after migration:

AlertDialog

title:

Text

'Very, very large title'

textScaleFactor:

),

content:

Text

'Very, very large content'

textScaleFactor:

),

actions:

Widget

>[

TextButton

child:

Text

'Button 1'

),

onPressed:

()

{}),

TextButton

child:

Text